Test: /sapi/phpdbg/tests/breakpoints_003.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_003.php
002- prompt> [Breakpoint #0 added at %s:4]
003+ prompt> file path: %s/breakpoints_003.php, resolved path: %s/breakpoints_003.php, was compiled: 1
004+ [Breakpoint #0 added at %s/breakpoints_003.php:4]
004- prompt> [Breakpoint #1 added at %s:5]
006+ prompt> file path: %s/breakpoints_003.php, resolved path: %s/breakpoints_003.php, was compiled: 1
007+ [Breakpoint #1 added at %s/breakpoints_003.php:5]
011- prompt> Do you really want to restart execution? (type y or n): 1234
014+ prompt> Do you really want to restart execution? (type y or n): was compiled: %s/breakpoints_003.php
015+ 1234
017+ was compiled: %s/breakpoints_003.php
1 (20%)
011+ prompt> Do you really want to restart execution? (type y or n):
012+ Termsig=11
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
1 (20%)
001+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
002+ #0 0x7fb08178a79a 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+ Direct leak of 16 byte(s) in 2 object(s) allocated from:
006+ #0 0x7fb08178a602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
007+ #1 0x7fb0808d0489 in __strdup (/lib/x86_64-linux-gnu/libc.so.6+0x8b489)
008+
009+ SUMMARY: AddressSanitizer: 104 byte(s) leaked in 3 allocation(s).
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:4]
003- prompt> [Deleted breakpoint #0]
004- prompt> [Breakpoint #1 added at %s:5]
005- prompt> 12
006- [Breakpoint #1 at %s:5, hits: 1]
007- >00005: echo 3;
008- 00006: echo 4;
009- 00007:
010- prompt> [Deleted breakpoint #1]
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>
1 (20%)
001+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
002+ #0 0x7f38680dc79a 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+ Direct leak of 16 byte(s) in 2 object(s) allocated from:
006+ #0 0x7f38680dc602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
007+ #1 0x7f38675dd489 in __strdup (/lib/x86_64-linux-gnu/libc.so.6+0x8b489)
008+
009+ SUMMARY: AddressSanitizer: 104 byte(s) leaked in 3 allocation(s).
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:4]
003- prompt> [Deleted breakpoint #0]
004- prompt> [Breakpoint #1 added at %s:5]
005- prompt> 12
006- [Breakpoint #1 at %s:5, hits: 1]
007- >00005: echo 3;
008- 00006: echo 4;
009- 00007:
010- prompt> [Deleted breakpoint #1]
011- prompt> Do you really want to restart execution? (type y or n): 1234
012- [Script ended normally]
013- prompt>