Test: /sapi/phpdbg/tests/info_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/info_001.php
039+ was compiled: %s/info_001.php
1 (20%)
001+ Termsig=11
001- [Successful compilation of %s]
002- prompt> [User Classes (1)]
003- User Class Foo\Bar (2)
004- |---- in %s on line 4
005- prompt> [User Functions (1)]
006- |-------- foo in %s on line 14
007- prompt> [Breakpoint #0 added at foo]
008- prompt> string(4) "test"
009- [Breakpoint #0 in foo() at %s:15, hits: 1]
010- >00015: var_dump(strrev($baz));
011- 00016: }
012- 00017:
013- prompt> [Variables in foo() (1)]
014- Address Refs Type Variable
015- %s %d string $baz
016- string (4) "test"
017- prompt> [Superglobal variables (8)]
018- Address Refs Type Variable
019- %s 2 array $_GET
020- %s 2 array $_POST
021- %s 2 array $_COOKIE
022- %s 2 array $_SERVER
023- %s 2 array $_ENV
024- %s 1 array $_REQUEST
025- %s 2 array $_FILES
026- %s 1 array &$GLOBALS
027- prompt> ------------------------------------------------
028- Function Breakpoints:
029- #0 foo
030- prompt> [User-defined constants (0)]
031- prompt> [Included files: 0]
032- prompt> [No error found!]
033- prompt> [Literal Constants in foo() (2)]
034- |-------- C0 -------> [var_dump]
035- |-------- C1 -------> [strrev]
036- prompt> string(4) "tset"
037- [Script ended normally]
038- prompt> [No active op array!]
039- prompt>
1 (20%)
001+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
002+ #0 0x7fc0bd373602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
003+ #1 0x7fc0bc874489 in __strdup (/lib/x86_64-linux-gnu/libc.so.6+0x8b489)
004+
005+ SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).
001- [Successful compilation of %s]
002- prompt> [User Classes (1)]
003- User Class Foo\Bar (2)
004- |---- in %s on line 4
005- prompt> [User Functions (1)]
006- |-------- foo in %s on line 14
007- prompt> [Breakpoint #0 added at foo]
008- prompt> string(4) "test"
009- [Breakpoint #0 in foo() at %s:15, hits: 1]
010- >00015: var_dump(strrev($baz));
011- 00016: }
012- 00017:
013- prompt> [Variables in foo() (1)]
014- Address Refs Type Variable
015- %s %d string $baz
016- string (4) "test"
017- prompt> [Superglobal variables (8)]
018- Address Refs Type Variable
019- %s 2 array $_GET
020- %s 2 array $_POST
021- %s 2 array $_COOKIE
022- %s 2 array $_SERVER
023- %s 2 array $_ENV
024- %s 1 array $_REQUEST
025- %s 2 array $_FILES
026- %s 1 array &$GLOBALS
027- prompt> ------------------------------------------------
028- Function Breakpoints:
029- #0 foo
030- prompt> [User-defined constants (0)]
031- prompt> [Included files: 0]
032- prompt> [No error found!]
033- prompt> [Literal Constants in foo() (2)]
034- |-------- C0 -------> [var_dump]
035- |-------- C1 -------> [strrev]
036- prompt> string(4) "tset"
037- [Script ended normally]
038- prompt> [No active op array!]
039- prompt>
1 (20%)
001+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
002+ #0 0x7f599f5a1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
003+ #1 0x7f599e6e7489 in __strdup (/lib/x86_64-linux-gnu/libc.so.6+0x8b489)
004+
005+ SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).
001- [Successful compilation of %s]
002- prompt> [User Classes (1)]
003- User Class Foo\Bar (2)
004- |---- in %s on line 4
005- prompt> [User Functions (1)]
006- |-------- foo in %s on line 14
007- prompt> [Breakpoint #0 added at foo]
008- prompt> string(4) "test"
009- [Breakpoint #0 in foo() at %s:15, hits: 1]
010- >00015: var_dump(strrev($baz));
011- 00016: }
012- 00017:
013- prompt> [Variables in foo() (1)]
014- Address Refs Type Variable
015- %s %d string $baz
016- string (4) "test"
017- prompt> [Superglobal variables (8)]
018- Address Refs Type Variable
019- %s 2 array $_GET
020- %s 2 array $_POST
021- %s 2 array $_COOKIE
022- %s 2 array $_SERVER
023- %s 2 array $_ENV
024- %s 1 array $_REQUEST
025- %s 2 array $_FILES
026- %s 1 array &$GLOBALS
027- prompt> ------------------------------------------------
028- Function Breakpoints:
029- #0 foo
030- prompt> [User-defined constants (0)]
031- prompt> [Included files: 0]
032- prompt> [No error found!]
033- prompt> [Literal Constants in foo() (2)]
034- |-------- C0 -------> [var_dump]
035- |-------- C1 -------> [strrev]
036- prompt> string(4) "tset"
037- [Script ended normally]
038- prompt> [No active op array!]
039- prompt>