Test: /sapi/phpdbg/tests/watch_001.phpt - Version 7.0.15    

There are 5 different diffs reported by users for this test.

Count Diff
7 (54%)
008+ prompt> >00004: $b = [$a];
009+ 00005:
010+ 00006: unset($b);
023- prompt> [$b was removed, removing watchpoint recursively]
024- [Script ended normally]
2 (15%)
001+ was compiled: %s/watch_001.php
002- prompt> [Breakpoint #0 added at %s:3]
003+ prompt> file path: %s/watch_001.php, resolved path: %s/watch_001.php, was compiled: 1
004+ [Breakpoint #0 added at %s/watch_001.php:3]
027+ was compiled: %s/watch_001.php
028+ file path: %s/watch_001.php, resolved path: %s/watch_001.php, was compiled: 1
2 (15%)
001+ Termsig=11
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:3]
003- prompt> [Breakpoint #0 at %s:3, hits: 1]
004- >00003: $a = 1;
005- 00004: $b = [$a];
006- 00005:
007- prompt> [Set recursive watchpoint on $b]
008- prompt> [Breaking on watchpoint $b]
009- Old value:
010- New value: Array ([0] => 1)
011- >00006: unset($b);
012- 00007: $b = 2;
013- 00008:
014- prompt> [Breaking on watchpoint $b]
015- Old value inaccessible or destroyed
016- New value:
017- >00007: $b = 2;
018- 00008:
019- prompt> [Breaking on watchpoint $b]
020- Old value:
021- New value: 2
022- >00008:
023- prompt> [$b was removed, removing watchpoint recursively]
024- [Script ended normally]
025- prompt>
1 (8%)
008+ prompt>
009+ Termsig=11
008- prompt> [Breaking on watchpoint $b]
009- Old value:
010- New value: Array ([0] => 1)
011- >00006: unset($b);
012- 00007: $b = 2;
013- 00008:
014- prompt> [Breaking on watchpoint $b]
015- Old value inaccessible or destroyed
016- New value:
017- >00007: $b = 2;
018- 00008:
019- prompt> [Breaking on watchpoint $b]
020- Old value:
021- New value: 2
022- >00008:
023- prompt> [$b was removed, removing watchpoint recursively]
024- [Script ended normally]
025- prompt>
1 (8%)
008+ prompt>
008- prompt> [Breaking on watchpoint $b]
009- Old value:
010- New value: Array ([0] => 1)
011- >00006: unset($b);
012- 00007: $b = 2;
013- 00008:
014- prompt> [Breaking on watchpoint $b]
015- Old value inaccessible or destroyed
016- New value:
017- >00007: $b = 2;
018- 00008:
019- prompt> [Breaking on watchpoint $b]
020- Old value:
021- New value: 2
022- >00008:
023- prompt> [$b was removed, removing watchpoint recursively]
024- [Script ended normally]
025- prompt>