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

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

Count Diff
7 (50%)
008+ prompt> >00004: $b = [$a];
009+ 00005:
010+ 00006: unset($b);
024- prompt> [$b was removed, removing watchpoint recursively]
025- [Script ended normally]
2 (14%)
026+ Segmentation fault
026- prompt>
2 (14%)
008+ prompt> [$b was removed, removing watchpoint recursively]
009+ [Script ended normally]
010+ prompt> [Breakpoint at %s/watch_001.php:3 exists]
011+ prompt> [Breakpoint at %s/watch_001.php:3 exists]
012+ prompt> [Breakpoint at %s/watch_001.php:3 exists]
013+ 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- >00007: $b = 2;
023- 00008:
024- prompt> [$b was removed, removing watchpoint recursively]
025- [Script ended normally]
026- prompt>
1 (7%)
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- >00007: $b = 2;
023- 00008:
024- prompt> [$b was removed, removing watchpoint recursively]
025- [Script ended normally]
026- prompt>
1 (7%)
008+ prompt>
009+ Termsig=10
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 (7%)
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