Test: /sapi/phpdbg/tests/breakpoints_004.phpt - Version 7.1.0    

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

Count Diff
142 (62%)
023+
023- prompt>
024+ Termsig=11
37 (16%)
023+ Segmentation fault
023- prompt>
024+
025+ Termsig=11
30 (13%)
023+ Segmentation fault (core dumped)
023- prompt>
024+
025+ Termsig=11
13 (6%)
023- prompt>
3 (1%)
2 (1%)
001+
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at ZEND_ECHO]
003- prompt> [Breakpoint #0 in ZEND_ECHO at %s:3, hits: 1]
004- >00003: echo $i++;
005- 00004: echo $i++;
006- 00005: echo $i++;
007- prompt> 1
008- [Breakpoint #0 in ZEND_ECHO at %s:4, hits: 2]
009- >00004: echo $i++;
010- 00005: echo $i++;
011- 00006: echo $i++;
012- prompt> 2
013- [Breakpoint #0 in ZEND_ECHO at %s:5, hits: 3]
014- >00005: echo $i++;
015- 00006: echo $i++;
016- 00007:
017- prompt> 3
018- [Breakpoint #0 in ZEND_ECHO at %s:6, hits: 4]
019- >00006: echo $i++;
020- 00007:
021- prompt> 4
022- [Script ended normally]
023- prompt>
1 (0%)
023+ prompt>
023- prompt>
024+ =================================================================
025+ ==17580==ERROR: LeakSanitizer: detected memory leaks
026+
027+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
028+ #0 0x4d288a in strdup /home/fuzzer/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc:562:3
029+ #1 0x1ce776a in phpdbg_set_prompt (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1ce776a)
030+ #2 0x1c797af in main (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c797af)
031+ #3 0x7f3443c5282f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
032+
033+ SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).