Test: /sapi/phpdbg/tests/exceptions_001.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_001.php
017+ was compiled: %s/exceptions_001.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> frame #0: {closure}() at %s:16
008- frame #1: {main} at %s:20
009- prompt> 3
010- prompt> [Uncaught Error in %s on line 16]
011- Error: Call to undefined function foo() in %s:16
012- Stack trace:
013- #0 %s(20): {closure}()
014- #1 {main}
015- [Script ended normally]
016- prompt>
1 (20%)
001+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
002+ #0 0x7f7ba0a2a602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
003+ #1 0x7f7b9ff2b489 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> frame #0: {closure}() at %s:16
008- frame #1: {main} at %s:20
009- prompt> 3
010- prompt> [Uncaught Error in %s on line 16]
011- Error: Call to undefined function foo() in %s:16
012- Stack trace:
013- #0 %s(20): {closure}()
014- #1 {main}
015- [Script ended normally]
016- prompt>
1 (20%)
001+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
002+ #0 0x7f15d2212602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
003+ #1 0x7f15d1358489 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> frame #0: {closure}() at %s:16
008- frame #1: {main} at %s:20
009- prompt> 3
010- prompt> [Uncaught Error in %s on line 16]
011- Error: Call to undefined function foo() in %s:16
012- Stack trace:
013- #0 %s(20): {closure}()
014- #1 {main}
015- [Script ended normally]
016- prompt>