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

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

Count Diff
74 (64%)
020+
020- prompt> prompt>
021+ Termsig=11
18 (16%)
020+ Segmentation fault (core dumped)
020- prompt> prompt>
021+
022+ Termsig=11
12 (10%)
020- prompt> prompt>
6 (5%)
020+ Segmentation fault
020- prompt> prompt>
021+
022+ Termsig=11
1 (1%)
1 (1%)
001+
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:4]
003- prompt> [Breakpoint #1 added at foo]
004- prompt> 1
005- [Breakpoint #0 at %s:4, hits: 1]
006- >00004: echo 2;
007- 00005: echo 3;
008- 00006: foo();
009- prompt> Clearing Breakpoints
010- File 1
011- Functions 1
012- Methods 0
013- Oplines 0
014- File oplines 0
015- Function oplines 0
016- Method oplines 0
017- Conditionals 0
018- prompt> 234
019- [Script ended normally]
020- prompt> prompt>
1 (1%)
001+ Termsig=11
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:4]
003- prompt> [Breakpoint #1 added at foo]
004- prompt> 1
005- [Breakpoint #0 at %s:4, hits: 1]
006- >00004: echo 2;
007- 00005: echo 3;
008- 00006: foo();
009- prompt> Clearing Breakpoints
010- File 1
011- Functions 1
012- Methods 0
013- Oplines 0
014- File oplines 0
015- Function oplines 0
016- Method oplines 0
017- Conditionals 0
018- prompt> 234
019- [Script ended normally]
020- prompt> prompt>
1 (1%)
020+ Segmentation fault
020- prompt> prompt>
1 (1%)
020+ Segmentation fault (core dumped)
020- prompt> prompt>
1 (1%)
020+ prompt> prompt>
020- prompt> prompt>
021+ =================================================================
022+ ==29499==ERROR: LeakSanitizer: detected memory leaks
023+
024+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
025+ #0 0x7f0e7463d538 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x77538)
026+ #1 0x559b0d1ad6ab in phpdbg_set_prompt /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_utils.c:296
027+
028+ SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).