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

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

Count Diff
142 (62%)
020+
021+ Termsig=11
020- prompt> [The stack contains nothing !]
021- prompt>
35 (15%)
020+ Segmentation fault
021+
020- prompt> [The stack contains nothing !]
021- prompt>
022+ Termsig=11
30 (13%)
020+ Segmentation fault (core dumped)
021+
020- prompt> [The stack contains nothing !]
021- prompt>
022+ Termsig=11
13 (6%)
020- prompt> [The stack contains nothing !]
021- prompt>
3 (1%)
2 (1%)
020+ Segmentation fault
020- prompt> [The stack contains nothing !]
021- prompt>
2 (1%)
001+
001- [Successful compilation of %s]
002- prompt> handle first
003- [Uncaught Error in %s on line 16: Call to undefined function foo()]
004- >00016: foo(); // Error
005- 00017: } catch (\Exception $e) {
006- 00018: var_dump($e);
007- prompt>
008- Fatal error: Uncaught Error: Call to undefined function next_error() in eval()'d code:1
009- Stack trace:
010- #0 %s(16): unknown()
011- #1 %s(20): {closure}()
012- #2 {main}
013- thrown in eval()'d code on line 1
014- prompt> [Uncaught Error in %s on line 16]
015- Error: Call to undefined function foo() in %s:16
016- Stack trace:
017- #0 %s(20): {closure}()
018- #1 {main}
019- [Script ended normally]
020- prompt> [The stack contains nothing !]
021- prompt>
1 (0%)
021+ prompt>
021- prompt>
022+ =================================================================
023+ ==17676==ERROR: LeakSanitizer: detected memory leaks
024+
025+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
026+ #0 0x4d288a in strdup /home/fuzzer/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc:562:3
027+ #1 0x1ce776a in phpdbg_set_prompt (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1ce776a)
028+ #2 0x1c797af in main (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c797af)
029+ #3 0x7fe123b8982f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
030+
031+ SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).