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

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

Count Diff
81 (64%)
038+
039+ Termsig=11
038- prompt> [No active op array!]
039- prompt>
18 (14%)
038+ Segmentation fault (core dumped)
039+
038- prompt> [No active op array!]
039- prompt>
040+ Termsig=11
15 (12%)
038- prompt> [No active op array!]
039- prompt>
7 (6%)
038+ Segmentation fault
039+
038- prompt> [No active op array!]
039- prompt>
040+ Termsig=11
1 (1%)
039+ prompt>
039- prompt>
040+ =================================================================
041+ ==29523==ERROR: LeakSanitizer: detected memory leaks
042+
043+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
044+ #0 0x7f3208b33538 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x77538)
045+ #1 0x5639223446ab in phpdbg_set_prompt /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_utils.c:296
046+
047+ SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).
1 (1%)
038+ Segmentation fault (core dumped)
038- prompt> [No active op array!]
039- prompt>
1 (1%)
038+
039+ Termsig=7
038- prompt> [No active op array!]
039- prompt>
1 (1%)
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 (1%)
001+
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 (1%)