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

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

Count Diff
11 (65%)
008+ prompt> >00004: $b = [$a];
009+ 00005:
010+ 00006: unset($b);
024- prompt> [$b was removed, removing watchpoint recursively]
025- [Script ended normally]
2 (12%)
001+ phpdbg_get_color(white-bold, 10): 1;64phpdbg_get_color(red-bold, 8): 1;31phpdbg_get_color(green, 5): 0;32was 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]
028+ phpdbg_get_color(white-bold, 10): 1;64phpdbg_get_color(red-bold, 8): 1;31phpdbg_get_color(green, 5): 0;32file path: %s/watch_001.php, resolved path: %s/watch_001.php, was compiled: 0
029+ File exists, but not compiled
030+ was compiled: %s/watch_001.php
1 (6%)
008+ prompt> Segmentation fault
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- >00007: $b = 2;
023- 00008:
024- prompt> [$b was removed, removing watchpoint recursively]
025- [Script ended normally]
026- prompt>
1 (6%)
001+ phpdbg_get_color(white-bold, 10): 1;64phpdbg_get_color(red-bold, 8): 1;31phpdbg_get_color(green, 5): 0;32was 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]
008- prompt> [Breaking on watchpoint $b]
010+ prompt>
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- >00007: $b = 2;
023- 00008:
024- prompt> [$b was removed, removing watchpoint recursively]
025- [Script ended normally]
026- prompt>
1 (6%)
001+ Termsig=6
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- >00007: $b = 2;
023- 00008:
024- prompt> [$b was removed, removing watchpoint recursively]
025- [Script ended normally]
026- prompt>
1 (6%)
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- >00007: $b = 2;
023- 00008:
024- prompt> [$b was removed, removing watchpoint recursively]
025- [Script ended normally]
026- prompt>