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

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

Count Diff
2 (50%)
001+ was compiled: %s/exceptions_003.php
002- prompt> [Breakpoint #0 added at %s:5]
003+ prompt> file path: %s/exceptions_003.php, resolved path: %s/exceptions_003.php, was compiled: 1
004+ [Breakpoint #0 added at %s/exceptions_003.php:5]
1 (25%)
001+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
002+ #0 0x7fded715679a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)
003+ #1 0xaff86a in phpdbg_stack_push /home/php-7.0.14/sapi/phpdbg/phpdbg_cmd.c:435
004+
005+ SUMMARY: AddressSanitizer: 88 byte(s) leaked in 1 allocation(s).
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:5]
003- prompt> [Breakpoint #0 at %s:5, hits: 1]
004- >00005: x();
005- 00006: } finally {
006- 00007: print "ok\n";
007- prompt> [L0 %s HANDLE_EXCEPTION %s]
008- >00005: x();
009- 00006: } finally {
010- 00007: print "ok\n";
011- prompt> [L7 %s ECHO "ok\n" %s]
012- >00007: print "ok\n";
013- 00008: }
014- 00009: } catch (Error $e) {
015- prompt> ok
016- [L7 %s FAST_RET<TO_CATCH> ~%d J7 %s]
017- [L9 %s CATCH "Error" $e 1 %s]
018- >00005: x();
019- 00006: } finally {
020- 00007: print "ok\n";
021- prompt> [L10 %s ECHO "caught\n" %s]
022- >00010: print "caught\n";
023- 00011: }
024- 00012:
025- prompt> caught
026- [L14 %s RETURN 1 %s]
027- >00014:
028- prompt>
1 (25%)
001+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
002+ #0 0x7f07795b979a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)
003+ #1 0xdec5ca in phpdbg_stack_push /home/php-7.0.14/sapi/phpdbg/phpdbg_cmd.c:435
004+
005+ SUMMARY: AddressSanitizer: 88 byte(s) leaked in 1 allocation(s).
001- [Successful compilation of %s]
002- prompt> [Breakpoint #0 added at %s:5]
003- prompt> [Breakpoint #0 at %s:5, hits: 1]
004- >00005: x();
005- 00006: } finally {
006- 00007: print "ok\n";
007- prompt> [L0 %s HANDLE_EXCEPTION %s]
008- >00005: x();
009- 00006: } finally {
010- 00007: print "ok\n";
011- prompt> [L7 %s ECHO "ok\n" %s]
012- >00007: print "ok\n";
013- 00008: }
014- 00009: } catch (Error $e) {
015- prompt> ok
016- [L7 %s FAST_RET<TO_CATCH> ~%d J7 %s]
017- [L9 %s CATCH "Error" $e 1 %s]
018- >00005: x();
019- 00006: } finally {
020- 00007: print "ok\n";
021- prompt> [L10 %s ECHO "caught\n" %s]
022- >00010: print "caught\n";
023- 00011: }
024- 00012:
025- prompt> caught
026- [L14 %s RETURN 1 %s]
027- >00014:
028- prompt>