Test: /sapi/phpdbg/tests/watch_002.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+ ==123909==ERROR: AddressSanitizer: SEGV on unknown address 0x7fc4f1415020 (pc 0x000001205204 bp 0x000002110358 sp 0x7fff20970eb0 T0)
011+ #0 0x1205203 (/root/afl-php/php-src-php-7.4.1/sapi/phpdbg/phpdbg+0x1205203)
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)
008- prompt> [Breaking on watchpoint $a[]]
009- 1 elements were added to the array
010- >00009:
011- prompt> [$a[] has been removed, removing watchpoint]
012- [Script ended normally]
013- prompt>
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 0x7fc4f646b82f (/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)
020+
021+ AddressSanitizer can not provide additional info.
022+ ==123909==ABORTING
1 (33%)
007+ prompt>
008+ Termsig=11
007- prompt> [Added watchpoint #0 for $a[]]
008- prompt> [Breaking on watchpoint $a[]]
009- 1 elements were added to the array
010- >00009:
011- prompt> [$a[] has been removed, removing watchpoint]
012- [Script ended normally]
013- 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[]]
008- prompt> [Breaking on watchpoint $a[]]
009- 1 elements were added to the array
010- >00009:
011- prompt> [$a[] has been removed, removing watchpoint]
012- [Script ended normally]
013- prompt>