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

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

Count Diff
2 (50%)
001+ was compiled: %s/next_001.php
002- prompt> [Breakpoint #0 added at %s:4]
003+ prompt> file path: %s/next_001.php, resolved path: %s/next_001.php, was compiled: 1
004+ [Breakpoint #0 added at %s/next_001.php:4]
1 (25%)
001+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
002+ #0 0x7f6e4af9979a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)
003+ #1 0xaff86a in phpdbg_stack_push /home/php-7.0.14/sapi/phpdbg/phpdbg_cmd.c:435
004+
005+ SUMMARY: AddressSanitizer: 88 byte(s) leaked in 1 allocation(s).
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:4]
003- prompt> [Breakpoint #0 at %s:4, hits: 1]
004- >00004: echo 0;
005- 00005: }
006- 00006:
007- prompt> 0
008- [L5 %s RETURN null %s]
009- >00005: }
010- 00006:
011- 00007: foo();
012- prompt> [L8 %s ECHO 1 %s]
013- >00008: echo 1;
014- 00009:
015- prompt> 1
016- [L9 %s RETURN 1 %s]
017- >00009:
018- prompt>
1 (25%)
001+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
002+ #0 0x7f5d8a31179a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)
003+ #1 0xdec5ca in phpdbg_stack_push /home/php-7.0.14/sapi/phpdbg/phpdbg_cmd.c:435
004+
005+ SUMMARY: AddressSanitizer: 88 byte(s) leaked in 1 allocation(s).
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:4]
003- prompt> [Breakpoint #0 at %s:4, hits: 1]
004- >00004: echo 0;
005- 00005: }
006- 00006:
007- prompt> 0
008- [L5 %s RETURN null %s]
009- >00005: }
010- 00006:
011- 00007: foo();
012- prompt> [L8 %s ECHO 1 %s]
013- >00008: echo 1;
014- 00009:
015- prompt> 1
016- [L9 %s RETURN 1 %s]
017- >00009:
018- prompt>