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

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

Count Diff
2 (40%)
002+ prompt> file path: -, resolved path: -, was compiled: 1
003+ [Breakpoint #0 added at -:3]
002- prompt> [Breakpoint #0 added at -:3]
009+ file path: -, resolved path: -, was compiled: 1
1 (20%)
001+ Termsig=11
001- prompt> [Successful compilation of stdin input]
002- prompt> [Breakpoint #0 added at -:3]
003- prompt> [Breakpoint #0 at -:3, hits: 1]
004- >00003: echo "Hello, world!\n";
005- 00004:
006- prompt> Hello, world!
007- [Script ended normally]
008- prompt> [Breakpoint #0 at -:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>
1 (20%)
001+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
002+ #0 0x7f8a48a3479a 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 8 byte(s) in 1 object(s) allocated from:
006+ #0 0x7f8a48a34602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
007+ #1 0x7f8a47b7a489 in __strdup (/lib/x86_64-linux-gnu/libc.so.6+0x8b489)
008+
009+ SUMMARY: AddressSanitizer: 96 byte(s) leaked in 2 allocation(s).
001- prompt> [Successful compilation of stdin input]
002- prompt> [Breakpoint #0 added at -:3]
003- prompt> [Breakpoint #0 at -:3, hits: 1]
004- >00003: echo "Hello, world!\n";
005- 00004:
006- prompt> Hello, world!
007- [Script ended normally]
008- prompt> [Breakpoint #0 at -:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>
1 (20%)
001+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
002+ #0 0x7f5fd0c9b79a 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 8 byte(s) in 1 object(s) allocated from:
006+ #0 0x7f5fd0c9b602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
007+ #1 0x7f5fd019c489 in __strdup (/lib/x86_64-linux-gnu/libc.so.6+0x8b489)
008+
009+ SUMMARY: AddressSanitizer: 96 byte(s) leaked in 2 allocation(s).
001- prompt> [Successful compilation of stdin input]
002- prompt> [Breakpoint #0 added at -:3]
003- prompt> [Breakpoint #0 at -:3, hits: 1]
004- >00003: echo "Hello, world!\n";
005- 00004:
006- prompt> Hello, world!
007- [Script ended normally]
008- prompt> [Breakpoint #0 at -:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>