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

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

Count Diff
2 (40%)
001+ was compiled: %s/exceptions_002.php
021+ was compiled: %s/exceptions_002.php
1 (20%)
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 (20%)
001+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
002+ #0 0x7f50caef1602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
003+ #1 0x7f50ca037489 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> 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 (20%)
001+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
002+ #0 0x7f34c4a8a602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
003+ #1 0x7f34c3f8b489 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> 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>