Test: /sapi/phpdbg/tests/finish_leave_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/finish_leave_001.php
003- prompt> [Breakpoint #1 added at %s:5]
004+ prompt> file path: %s/finish_leave_001.php, resolved path: %s/finish_leave_001.php, was compiled: 1
005+ [Breakpoint #1 added at %s/finish_leave_001.php:5]
1 (25%)
001+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
002+ #0 0x7fe912c7479a 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 bar]
003- prompt> [Breakpoint #1 added at %s:5]
004- prompt> [Breakpoint #0 in bar() at %s:9, hits: 1]
005- >00009: return "world";
006- 00010: }
007- 00011:
008- prompt> [Breakpoint #1 at %s:5, hits: 1]
009- >00005: return ["hello", $other];
010- 00006: }
011- 00007:
012- prompt> [Breaking for leave at %s:5]
013- >00005: return ["hello", $other];
014- 00006: }
015- 00007:
016- prompt> [Already at the end of the function]
017- prompt>
1 (25%)
001+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
002+ #0 0x7f0b38f6c79a 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 bar]
003- prompt> [Breakpoint #1 added at %s:5]
004- prompt> [Breakpoint #0 in bar() at %s:9, hits: 1]
005- >00009: return "world";
006- 00010: }
007- 00011:
008- prompt> [Breakpoint #1 at %s:5, hits: 1]
009- >00005: return ["hello", $other];
010- 00006: }
011- 00007:
012- prompt> [Breaking for leave at %s:5]
013- >00005: return ["hello", $other];
014- 00006: }
015- 00007:
016- prompt> [Already at the end of the function]
017- prompt>