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

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

Count Diff
84 (66%)
020+
021+ Termsig=11
020- prompt> [The stack contains nothing !]
021- prompt>
18 (14%)
020+ Segmentation fault (core dumped)
021+
020- prompt> [The stack contains nothing !]
021- prompt>
022+ Termsig=11
12 (9%)
020- prompt> [The stack contains nothing !]
021- prompt>
6 (5%)
020+ Segmentation fault
021+
020- prompt> [The stack contains nothing !]
021- prompt>
022+ Termsig=11
1 (1%)
021+ prompt>
021- prompt>
022+ =================================================================
023+ ==29508==ERROR: LeakSanitizer: detected memory leaks
024+
025+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
026+ #0 0x7fd456dfc538 in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x77538)
027+ #1 0x56034068b6ab in phpdbg_set_prompt /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_utils.c:296
028+
029+ SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).
1 (1%)
020+ Segmentation fault (core dumped)
020- prompt> [The stack contains nothing !]
021- prompt>
1 (1%)
020+ Segmentation fault
020- prompt> [The stack contains nothing !]
021- prompt>
1 (1%)
020+
021+ Termsig=7
020- prompt> [The stack contains nothing !]
021- prompt>
1 (1%)
001+ Termsig=11
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 (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 (1%)