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

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

Count Diff
1 (33%)
028+ prompt>
028- prompt>
029+ =================================================================
030+ ==29511==ERROR: LeakSanitizer: detected memory leaks
031+
032+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
033+ #0 0x7f29dd76ed38 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded38)
034+ #1 0x559bc326cd7a in phpdbg_stack_push /home/zsw/Documents/project/php/php-7.2.6/sapi/phpdbg/phpdbg_cmd.c:435
035+
036+ SUMMARY: AddressSanitizer: 88 byte(s) leaked in 1 allocation(s).
1 (33%)
001+ Termsig=11
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<1> "ok\n" %s]
012- >00007: print "ok\n";
013- 00008: }
014- 00009: } catch (Error $e) {
015- prompt> ok
016- [L7 %s FAST_RET ~%d try-catch(0) %s]
017- [L9 %s CATCH<-%d> "Error" $e 1 %s]
018- >00005: x();
019- 00006: } finally {
020- 00007: print "ok\n";
021- prompt> [L10 %s ECHO<1> "caught\n" %s]
022- >00010: print "caught\n";
023- 00011: }
024- 00012:
025- prompt> caught
026- [L14 %s RETURN<-1> 1 %s]
027- >00014:
028- prompt>
1 (33%)
001+
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<1> "ok\n" %s]
012- >00007: print "ok\n";
013- 00008: }
014- 00009: } catch (Error $e) {
015- prompt> ok
016- [L7 %s FAST_RET ~%d try-catch(0) %s]
017- [L9 %s CATCH<-%d> "Error" $e 1 %s]
018- >00005: x();
019- 00006: } finally {
020- 00007: print "ok\n";
021- prompt> [L10 %s ECHO<1> "caught\n" %s]
022- >00010: print "caught\n";
023- 00011: }
024- 00012:
025- prompt> caught
026- [L14 %s RETURN<-1> 1 %s]
027- >00014:
028- prompt>