Test: /sapi/phpdbg/tests/breakpoints_001.phpt - Version 7.2.6    

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

Count Diff
73 (63%)
015+
015- prompt>
016+ Termsig=11
17 (15%)
015+ Segmentation fault (core dumped)
015- prompt>
016+
017+ Termsig=11
13 (11%)
015- prompt>
6 (5%)
015+ Segmentation fault
015- prompt>
016+
017+ Termsig=11
2 (2%)
015+ Segmentation fault (core dumped)
015- prompt>
1 (1%)
1 (1%)
001+
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:3]
003- prompt> [Breakpoint #0 at %s:3, hits: 1]
004- >00003: echo $i++;
005- 00004: echo $i++;
006- 00005: echo $i++;
007- prompt> [Breakpoint #1 added at %s:4]
008- prompt> 1
009- [Breakpoint #1 at %s:4, hits: 1]
010- >00004: echo $i++;
011- 00005: echo $i++;
012- 00006: echo $i++;
013- prompt> 234
014- [Script ended normally]
015- prompt>
1 (1%)
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: echo $i++;
005- 00004: echo $i++;
006- 00005: echo $i++;
007- prompt> [Breakpoint #1 added at %s:4]
008- prompt> 1
009- [Breakpoint #1 at %s:4, hits: 1]
010- >00004: echo $i++;
011- 00005: echo $i++;
012- 00006: echo $i++;
013- prompt> 234
014- [Script ended normally]
015- prompt>
1 (1%)
015+ Segmentation fault
015- prompt>
1 (1%)
015+ prompt>
015- prompt>
016+ =================================================================
017+ ==29457==ERROR: LeakSanitizer: detected memory leaks
018+
019+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
020+ #0 0x7faf29a66538 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x77538)
021+ #1 0x55a8df4506ab in phpdbg_set_prompt /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_utils.c:296
022+
023+ SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).