Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 42) Position 1 = 16 Branch analysis from position: 16 1 jumps found. (Code = 42) Position 1 = 34 Branch analysis from position: 34 1 jumps found. (Code = 42) Position 1 = 46 Branch analysis from position: 46 1 jumps found. (Code = 42) Position 1 = 57 Branch analysis from position: 57 1 jumps found. (Code = 62) Position 1 = -2 Found catch point at position: 7 Branch analysis from position: 7 2 jumps found. (Code = 107) Position 1 = 8, Position 2 = 13 Branch analysis from position: 8 1 jumps found. (Code = 42) Position 1 = 16 Branch analysis from position: 16 Branch analysis from position: 13 2 jumps found. (Code = 107) Position 1 = 14, Position 2 = -2 Branch analysis from position: 14 1 jumps found. (Code = 42) Position 1 = 34 Branch analysis from position: 34 Found catch point at position: 13 Branch analysis from position: 13 Found catch point at position: 25 Branch analysis from position: 25 2 jumps found. (Code = 107) Position 1 = 26, Position 2 = 31 Branch analysis from position: 26 1 jumps found. (Code = 42) Position 1 = 34 Branch analysis from position: 34 Branch analysis from position: 31 2 jumps found. (Code = 107) Position 1 = 32, Position 2 = -2 Branch analysis from position: 32 1 jumps found. (Code = 42) Position 1 = 46 Branch analysis from position: 46 Found catch point at position: 31 Branch analysis from position: 31 Found catch point at position: 43 Branch analysis from position: 43 2 jumps found. (Code = 107) Position 1 = 44, Position 2 = -2 Branch analysis from position: 44 1 jumps found. (Code = 42) Position 1 = 57 Branch analysis from position: 57 Found catch point at position: 54 Branch analysis from position: 54 2 jumps found. (Code = 107) Position 1 = 55, Position 2 = -2 Branch analysis from position: 55 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/RGcIl function name: (null) number of ops: 62 compiled vars: !0 = $o, !1 = $e line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 2 0 E > DECLARE_CLASS 'exception' 18 1 DECLARE_CLASS 'myexception', 'exception' 64 2 NEW $2 'TestException' 3 SEND_VAL_EX 1 4 DO_FCALL 0 5 ASSIGN !0, $2 6 > JMP ->16 65 7 E > > CATCH 'MyException', ->13 66 8 > ECHO 'Caught+my+exception%0A' 9 ECHO !1 67 10 INIT_METHOD_CALL !1, 'customFunction' 11 DO_FCALL 0 12 > JMP ->16 68 13 E > > CATCH last 'Exception' 69 14 > ECHO 'Caught+Default+Exception%0A' 15 ECHO !1 73 16 > INIT_FCALL 'var_dump' 17 SEND_VAR !0 18 DO_ICALL 74 19 ECHO '%0A%0A' 79 20 NEW $7 'TestException' 21 SEND_VAL_EX 2 22 DO_FCALL 0 23 ASSIGN !0, $7 24 > JMP ->34 80 25 E > > CATCH 'MyException', ->31 81 26 > ECHO 'Caught+my+exception%0A' 27 ECHO !1 82 28 INIT_METHOD_CALL !1, 'customFunction' 29 DO_FCALL 0 30 > JMP ->34 83 31 E > > CATCH last 'Exception' 84 32 > ECHO 'Caught+Default+Exception%0A' 33 ECHO !1 88 34 > INIT_FCALL 'var_dump' 35 SEND_VAR !0 36 DO_ICALL 89 37 ECHO '%0A%0A' 91 38 NEW $12 'TestException' 39 SEND_VAL_EX 1 40 DO_FCALL 0 41 ASSIGN !0, $12 42 > JMP ->46 92 43 E > > CATCH last 'Exception' 93 44 > ECHO 'Default+Exception+caught%0A' 45 ECHO !1 97 46 > INIT_FCALL 'var_dump' 47 SEND_VAR !0 48 DO_ICALL 98 49 ECHO '%0A%0A' 100 50 NEW $16 'TestException' 51 DO_FCALL 0 52 ASSIGN !0, $16 53 > JMP ->57 101 54 E > > CATCH last 'Exception' 102 55 > ECHO 'Default+Exception+caught%0A' 56 ECHO !1 106 57 > INIT_FCALL 'var_dump' 58 SEND_VAR !0 59 DO_ICALL 107 60 ECHO 'p%0A%0A' 108 61 > RETURN 1 Class Exception: Function __construct: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/RGcIl function name: __construct number of ops: 5 compiled vars: !0 = $message, !1 = $code line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 13 0 E > ASSIGN !0, null 14 1 ASSIGN !1, 0 15 2 ASSIGN_STATIC_PROP 'previous' 3 OP_DATA null 4 > RETURN null End of function __construct End of class Exception. Class MyException: Function __construct: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/RGcIl function name: __construct number of ops: 9 compiled vars: !0 = $message, !1 = $code, !2 = $previous line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 19 0 E > RECV !0 1 RECV_INIT !1 0 2 RECV_INIT !2 null 23 3 INIT_STATIC_METHOD_CALL 4 SEND_VAR_EX !0 5 SEND_VAR_EX !1 6 SEND_VAR_EX !2 7 DO_FCALL 0 24 8 > RETURN null End of function __construct Function __tostring: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/RGcIl function name: __toString number of ops: 12 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 28 0 E > ROPE_INIT 5 ~3 '%3A+%5B' 1 FETCH_OBJ_R ~0 'code' 2 ROPE_ADD 1 ~3 ~3, ~0 3 ROPE_ADD 2 ~3 ~3, '%5D%3A+' 4 FETCH_OBJ_R ~1 'message' 5 ROPE_ADD 3 ~3 ~3, ~1 6 ROPE_END 4 ~2 ~3, '%0A' 7 CONCAT ~6 'MyException', ~2 8 VERIFY_RETURN_TYPE ~6 9 > RETURN ~6 29 10* VERIFY_RETURN_TYPE 11* > RETURN null End of function __tostring Function customfunction: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/RGcIl function name: customFunction number of ops: 2 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 32 0 E > ECHO 'A+custom+function+for+this+type+of+exception%0A' 33 1 > RETURN null End of function customfunction End of class MyException. Class TestException: Function __construct: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 44) Position 1 = 3, Position 2 = 6 Branch analysis from position: 3 2 jumps found. (Code = 44) Position 1 = 5, Position 2 = 12 Branch analysis from position: 5 1 jumps found. (Code = 42) Position 1 = 18 Branch analysis from position: 18 1 jumps found. (Code = 42) Position 1 = 21 Branch analysis from position: 21 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 12 1 jumps found. (Code = 108) Position 1 = -2 Branch analysis from position: 6 1 jumps found. (Code = 108) Position 1 = -2 filename: /in/RGcIl function name: __construct number of ops: 22 compiled vars: !0 = $avalue line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 43 0 E > RECV_INIT !0 <const ast> 45 1 IS_EQUAL !0, 1 2 > JMPNZ ~1, ->6 3 > IS_EQUAL !0, 2 4 > JMPNZ ~1, ->12 5 > > JMP ->18 48 6 > NEW $2 'MyException' 7 SEND_VAL_EX '1+is+an+invalid+parameter' 8 SEND_VAL_EX 5 9 DO_FCALL 0 10 > THROW 0 $2 49 11* JMP ->21 53 12 > NEW $4 'Exception' 13 SEND_VAL_EX '2+is+not+allowed+as+a+parameter' 14 SEND_VAL_EX 6 15 DO_FCALL 0 16 > THROW 0 $4 54 17* JMP ->21 58 18 > ASSIGN_OBJ 'var' 19 OP_DATA !0 59 20 > JMP ->21 61 21 > > RETURN null End of function __construct End of class TestException.
Generated using Vulcan Logic Dumper, using php 8.0.0