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

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

Count Diff
2 (40%)
001+ was compiled: %s/breakpoints_004.php
024+ was compiled: %s/breakpoints_004.php
1 (20%)
023- prompt>
1 (20%)
001+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
002+ #0 0x7f9ac908b602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
003+ #1 0x7f9ac858c489 in __strdup (/lib/x86_64-linux-gnu/libc.so.6+0x8b489)
004+
005+ SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).
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 1;
005- 00004: echo 2;
006- 00005: echo 3;
007- prompt> 1
008- [Breakpoint #0 in ZEND_ECHO at %s:4, hits: 2]
009- >00004: echo 2;
010- 00005: echo 3;
011- 00006: echo 4;
012- prompt> 2
013- [Breakpoint #0 in ZEND_ECHO at %s:5, hits: 3]
014- >00005: echo 3;
015- 00006: echo 4;
016- 00007:
017- prompt> 3
018- [Breakpoint #0 in ZEND_ECHO at %s:6, hits: 4]
019- >00006: echo 4;
020- 00007:
021- prompt> 4
022- [Script ended normally]
023- prompt>
1 (20%)
001+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
002+ #0 0x7f59786ee602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
003+ #1 0x7f5977834489 in __strdup (/lib/x86_64-linux-gnu/libc.so.6+0x8b489)
004+
005+ SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).
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 1;
005- 00004: echo 2;
006- 00005: echo 3;
007- prompt> 1
008- [Breakpoint #0 in ZEND_ECHO at %s:4, hits: 2]
009- >00004: echo 2;
010- 00005: echo 3;
011- 00006: echo 4;
012- prompt> 2
013- [Breakpoint #0 in ZEND_ECHO at %s:5, hits: 3]
014- >00005: echo 3;
015- 00006: echo 4;
016- 00007:
017- prompt> 3
018- [Breakpoint #0 in ZEND_ECHO at %s:6, hits: 4]
019- >00006: echo 4;
020- 00007:
021- prompt> 4
022- [Script ended normally]
023- prompt>