Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aJcPh function name: (null) number of ops: 15 compiled vars: !0 = $calc line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 15 0 E > DECLARE_CLASS 'stupidcalc' 33 1 NEW $1 'StupidCalc' 2 DO_FCALL 0 3 ASSIGN !0, $1 35 4 INIT_METHOD_CALL !0, 'maybeAdd' 5 SEND_VAL_EX 3 6 SEND_VAL_EX 2 7 DO_FCALL 0 $4 8 ECHO $4 36 9 INIT_METHOD_CALL !0, 'maybeSub' 10 SEND_VAL_EX 3 11 SEND_VAL_EX 2 12 DO_FCALL 0 $5 13 ECHO $5 14 > RETURN 1 Class Adder: Function calculate: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aJcPh function name: calculate number of ops: 5 compiled vars: !0 = $x, !1 = $y line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 4 0 E > RECV !0 1 RECV !1 5 2 ADD ~2 !0, !1 3 > RETURN ~2 6 4* > RETURN null End of function calculate End of class Adder. Class Subtractor: Function calculate: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aJcPh function name: calculate number of ops: 5 compiled vars: !0 = $x, !1 = $y line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 10 0 E > RECV !0 1 RECV !1 11 2 SUB ~2 !0, !1 3 > RETURN ~2 12 4* > RETURN null End of function calculate End of class Subtractor. Class StupidCalc: Function maybeadd: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aJcPh function name: maybeAdd number of ops: 8 compiled vars: !0 = $x, !1 = $y line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 24 0 E > RECV !0 1 RECV !1 25 2 INIT_METHOD_CALL 'add' 3 SEND_VAR_EX !0 4 SEND_VAR_EX !1 5 DO_FCALL 0 $2 6 > RETURN $2 26 7* > RETURN null End of function maybeadd Function maybesub: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aJcPh function name: maybeSub number of ops: 8 compiled vars: !0 = $x, !1 = $y line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 28 0 E > RECV !0 1 RECV !1 29 2 INIT_METHOD_CALL 'sub' 3 SEND_VAR_EX !0 4 SEND_VAR_EX !1 5 DO_FCALL 0 $2 6 > RETURN $2 30 7* > RETURN null End of function maybesub End of class StupidCalc.
Generated using Vulcan Logic Dumper, using php 8.0.0