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

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

Count Diff
138 (62%)
038+
039+ Termsig=11
038- prompt> [No active op array!]
039- prompt>
34 (15%)
038+ Segmentation fault
039+
038- prompt> [No active op array!]
039- prompt>
040+ Termsig=11
26 (12%)
038+ Segmentation fault (core dumped)
039+
038- prompt> [No active op array!]
039- prompt>
040+ Termsig=11
14 (6%)
038- prompt> [No active op array!]
039- prompt>
3 (1%)
3 (1%)
038+ Segmentation fault
038- prompt> [No active op array!]
039- prompt>
2 (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 (0%)
038+
039+ Termsig=7
038- prompt> [No active op array!]
039- prompt>
1 (0%)
038+ Segmentation fault (core dumped)
038- prompt> [No active op array!]
039- prompt>
1 (0%)
039+ prompt>
039- prompt>
040+ =================================================================
041+ ==17724==ERROR: LeakSanitizer: detected memory leaks
042+
043+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
044+ #0 0x4d288a in strdup /home/fuzzer/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc:562:3
045+ #1 0x1ce776a in phpdbg_set_prompt (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1ce776a)
046+ #2 0x1c797af in main (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c797af)
047+ #3 0x7fdc6181482f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
048+
049+ SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).