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

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

Count Diff
73 (63%)
023+
023- prompt>
024+ Termsig=11
16 (14%)
023+ Segmentation fault (core dumped)
023- prompt>
024+
025+ Termsig=11
13 (11%)
023- prompt>
7 (6%)
023+ Segmentation fault
023- prompt>
024+
025+ Termsig=11
3 (3%)
023+ Segmentation fault (core dumped)
023- prompt>
1 (1%)
1 (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 (1%)
001+ Termsig=11
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 (1%)
023+ prompt>
023- prompt>
024+ =================================================================
025+ ==29466==ERROR: LeakSanitizer: detected memory leaks
026+
027+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
028+ #0 0x7f8b1dbef538 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x77538)
029+ #1 0x5597bce7f6ab in phpdbg_set_prompt /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_utils.c:296
030+
031+ SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).