Test: /sapi/phpdbg/tests/breakpoints_002.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_002.php
002- prompt> [Breakpoint #0 added at %s:4]
003+ prompt> file path: breakpoints_002.php, resolved path: breakpoints_002.php, was compiled: 0
004+ Compare against loaded 
005+ file: %s/breakpoints_002.php, filelen: 63, cur: breakpoints_002.php, curlen 19, pos: /, memcmp: 0
006+ compiled file: %s/breakpoints_002.php, cur bp file: 
007+ [Breakpoint #0 added at %s/breakpoints_002.php:4]
008- prompt> [Breakpoint #1 added at %s:3]
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
013+ prompt> file path: %s/breakpoints_002.php, resolved path: %s/breakpoints_002.php, was compiled: 1
014+ [Breakpoint #1 added at %s/breakpoints_002.php:3]
015+ prompt> Do you really want to restart execution? (type y or n): was compiled: %s/breakpoints_002.php
016+ file path: %s/breakpoints_002.php, resolved path: %s/breakpoints_002.php, was compiled: 1
017+ file path: %s/breakpoints_002.php, resolved path: %s/breakpoints_002.php, was compiled: 1
018+ [Breakpoint #1 at %s/breakpoints_002.php:3, hits: 1]
029+ was compiled: %s/breakpoints_002.php
030+ file path: %s/breakpoints_002.php, resolved path: %s/breakpoints_002.php, was compiled: 1
031+ file path: %s/breakpoints_002.php, resolved path: %s/breakpoints_002.php, was compiled: 1
1 (20%)
009+ prompt> Do you really want to restart execution? (type y or n):
010+ Termsig=11
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo 1;
011- 00004: echo 2;
012- 00005: echo 3;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo 2;
016- 00005: echo 3;
017- 00006: echo 4;
018- prompt> 234
019- [Script ended normally]
020- prompt>
1 (20%)
001+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
002+ #0 0x7feebe92e79a 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 0x7feebe92e602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
007+ #1 0x7feebde2f489 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> 1
004- [Breakpoint #0 at %s:4, hits: 1]
005- >00004: echo 2;
006- 00005: echo 3;
007- 00006: echo 4;
008- prompt> [Breakpoint #1 added at %s:3]
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo 1;
011- 00004: echo 2;
012- 00005: echo 3;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo 2;
016- 00005: echo 3;
017- 00006: echo 4;
018- prompt> 234
019- [Script ended normally]
020- prompt>
1 (20%)
001+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
002+ #0 0x7f94376b179a 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 0x7f94376b1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
007+ #1 0x7f94367f7489 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> 1
004- [Breakpoint #0 at %s:4, hits: 1]
005- >00004: echo 2;
006- 00005: echo 3;
007- 00006: echo 4;
008- prompt> [Breakpoint #1 added at %s:3]
009- prompt> Do you really want to restart execution? (type y or n): [Breakpoint #1 at %s:3, hits: 1]
010- >00003: echo 1;
011- 00004: echo 2;
012- 00005: echo 3;
013- prompt> 1
014- [Breakpoint #0 at %s:4, hits: 1]
015- >00004: echo 2;
016- 00005: echo 3;
017- 00006: echo 4;
018- prompt> 234
019- [Script ended normally]
020- prompt>