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

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

Count Diff
82 (65%)
008+
009+ Termsig=11
008- prompt> [Breakpoint #0 at Standard input code:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>
19 (15%)
008+ Segmentation fault (core dumped)
009+
010+ Termsig=11
008- prompt> [Breakpoint #0 at Standard input code:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>
14 (11%)
008- prompt> [Breakpoint #0 at Standard input code:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>
7 (6%)
008+ Segmentation fault
009+
010+ Termsig=11
008- prompt> [Breakpoint #0 at Standard input code:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>
1 (1%)
011+ prompt>
011- prompt>
012+ =================================================================
013+ ==29566==ERROR: LeakSanitizer: detected memory leaks
014+
015+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
016+ #0 0x7f479cf0ed38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
017+ #1 0x55706196cd7a in phpdbg_stack_push /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_cmd.c:435
018+
019+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
020+ #0 0x7f479cea7538 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x77538)
021+ #1 0x55706195f6ab in phpdbg_set_prompt /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_utils.c:296
022+
023+ SUMMARY: AddressSanitizer: 96 byte(s) leaked in 2 allocation(s).
1 (1%)
008+
009+ Termsig=7
008- prompt> [Breakpoint #0 at Standard input code:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>
1 (1%)
001+ Termsig=11
001- prompt> [Successful compilation of stdin input]
002- prompt> [Breakpoint #0 added at Standard input code:3]
003- prompt> [Breakpoint #0 at Standard input code:3, hits: 1]
004- >00003: echo "Hello, world!\n";
005- 00004:
006- prompt> Hello, world!
007- [Script ended normally]
008- prompt> [Breakpoint #0 at Standard input code:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>
1 (1%)
001+
001- prompt> [Successful compilation of stdin input]
002- prompt> [Breakpoint #0 added at Standard input code:3]
003- prompt> [Breakpoint #0 at Standard input code:3, hits: 1]
004- >00003: echo "Hello, world!\n";
005- 00004:
006- prompt> Hello, world!
007- [Script ended normally]
008- prompt> [Breakpoint #0 at Standard input code:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>
1 (1%)