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

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

Count Diff
2 (40%)
001+ was compiled: %s/clean_001.php
002- prompt> [Breakpoint #0 added at %s:4]
003+ prompt> file path: %s/clean_001.php, resolved path: %s/clean_001.php, was compiled: 1
004+ [Breakpoint #0 added at %s/clean_001.php:4]
021+ was compiled: %s/clean_001.php
022+ file path: %s/clean_001.php, resolved path: %s/clean_001.php, was compiled: 1
036+ was compiled: %s/clean_001.php
037+ file path: %s/clean_001.php, resolved path: %s/clean_001.php, was compiled: 1
1 (20%)
001+ Termsig=11
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:4]
003- prompt> [Breakpoint #1 added at foo]
004- prompt> 1
005- [Breakpoint #0 at %s:4, hits: 1]
006- >00004: echo 2;
007- 00005: echo 3;
008- 00006: foo();
009- prompt> 23
010- [Breakpoint #1 in foo() at %s:9, hits: 1]
011- >00009: echo 4;
012- 00010: }
013- 00011:
014- prompt> Do you really want to clean your current environment? (type y or n): Cleaning Execution Environment
015- Classes %d
016- Functions %d
017- Constants %d
018- Includes 0
019- prompt> [Not running]
020- prompt> 1
021- [Breakpoint #0 at %s:4, hits: 1]
022- >00004: echo 2;
023- 00005: echo 3;
024- 00006: foo();
025- prompt> 23
026- [Breakpoint #1 in foo() at %s:9, hits: 1]
027- >00009: echo 4;
028- 00010: }
029- 00011:
030- prompt> 4
031- [Script ended normally]
032- prompt>
1 (20%)
001+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
002+ #0 0x7ff82d13379a 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 0x7ff82d133602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
007+ #1 0x7ff82c279489 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> [Breakpoint #1 added at foo]
004- prompt> 1
005- [Breakpoint #0 at %s:4, hits: 1]
006- >00004: echo 2;
007- 00005: echo 3;
008- 00006: foo();
009- prompt> 23
010- [Breakpoint #1 in foo() at %s:9, hits: 1]
011- >00009: echo 4;
012- 00010: }
013- 00011:
014- prompt> Do you really want to clean your current environment? (type y or n): Cleaning Execution Environment
015- Classes %d
016- Functions %d
017- Constants %d
018- Includes 0
019- prompt> [Not running]
020- prompt> 1
021- [Breakpoint #0 at %s:4, hits: 1]
022- >00004: echo 2;
023- 00005: echo 3;
024- 00006: foo();
025- prompt> 23
026- [Breakpoint #1 in foo() at %s:9, hits: 1]
027- >00009: echo 4;
028- 00010: }
029- 00011:
030- prompt> 4
031- [Script ended normally]
032- prompt>
1 (20%)
001+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
002+ #0 0x7f881a27479a 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 0x7f881a274602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
007+ #1 0x7f8819775489 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> [Breakpoint #1 added at foo]
004- prompt> 1
005- [Breakpoint #0 at %s:4, hits: 1]
006- >00004: echo 2;
007- 00005: echo 3;
008- 00006: foo();
009- prompt> 23
010- [Breakpoint #1 in foo() at %s:9, hits: 1]
011- >00009: echo 4;
012- 00010: }
013- 00011:
014- prompt> Do you really want to clean your current environment? (type y or n): Cleaning Execution Environment
015- Classes %d
016- Functions %d
017- Constants %d
018- Includes 0
019- prompt> [Not running]
020- prompt> 1
021- [Breakpoint #0 at %s:4, hits: 1]
022- >00004: echo 2;
023- 00005: echo 3;
024- 00006: foo();
025- prompt> 23
026- [Breakpoint #1 in foo() at %s:9, hits: 1]
027- >00009: echo 4;
028- 00010: }
029- 00011:
030- prompt> 4
031- [Script ended normally]
032- prompt>