Test: /sapi/phpdbg/tests/watch_003.phpt - Version 7.4.1    

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

Count Diff
1 (33%)
008+ prompt> ASAN:SIGSEGV
009+ =================================================================
010+ ==123914==ERROR: AddressSanitizer: SEGV on unknown address 0x7efc08a5fb48 (pc 0x00000120514b bp 0x000002110358 sp 0x7ffe67f5e210 T0)
011+ #0 0x120514a (/root/afl-php/php-src-php-7.4.1/sapi/phpdbg/phpdbg+0x120514a)
012+ #1 0x13d918c (/root/afl-php/php-src-php-7.4.1/sapi/phpdbg/phpdbg+0x13d918c)
013+ #2 0x11b78ce (/root/afl-php/php-src-php-7.4.1/sapi/phpdbg/phpdbg+0x11b78ce)
014+ #3 0x13c7406 (/root/afl-php/php-src-php-7.4.1/sapi/phpdbg/phpdbg+0x13c7406)
015+ #4 0x1418135 (/root/afl-php/php-src-php-7.4.1/sapi/phpdbg/phpdbg+0x1418135)
016+ #5 0x13d520d (/root/afl-php/php-src-php-7.4.1/sapi/phpdbg/phpdbg+0x13d520d)
017+ #6 0x13ac33d (/root/afl-php/php-src-php-7.4.1/sapi/phpdbg/phpdbg+0x13ac33d)
018+ #7 0x7efc0da6382f (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
019+ #8 0x45c648 (/root/afl-php/php-src-php-7.4.1/sapi/phpdbg/phpdbg+0x45c648)
008- prompt> [Breaking on watchpoint $a[0]]
009- Old value: 1
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015- New value: 3
016- >00009:
017- prompt> [$a[0] has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>
020+
021+ AddressSanitizer can not provide additional info.
022+ ==123914==ABORTING
1 (33%)
007+ prompt>
007- prompt> [Added watchpoint #0 for $a[0]]
008- prompt> [Breaking on watchpoint $a[0]]
009- Old value: 1
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015- New value: 3
016- >00009:
017- prompt> [$a[0] has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>
1 (33%)
001+
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:6]
003- prompt> [Breakpoint #0 at %s:6, hits: 1]
004- >00006: $a[0] = 2;
005- 00007:
006- 00008: $a = [0 => 3, 1 => 4];
007- prompt> [Added watchpoint #0 for $a[0]]
008- prompt> [Breaking on watchpoint $a[0]]
009- Old value: 1
010- New value: 2
011- >00008: $a = [0 => 3, 1 => 4];
012- 00009:
013- prompt> [Breaking on watchpoint $a[0]]
014- Old value: 2
015- New value: 3
016- >00009:
017- prompt> [$a[0] has been removed, removing watchpoint]
018- [Script ended normally]
019- prompt>