Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/rhofk function name: (null) number of ops: 21 compiled vars: !0 = $factory, !1 = $o, !2 = $factory2, !3 = $o2 line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 38 0 E > NEW $4 'Factory' 1 DO_FCALL 0 2 ASSIGN !0, $4 39 3 INIT_METHOD_CALL !0, 'getInstance' 4 DO_FCALL 0 $7 5 ASSIGN !1, $7 40 6 INIT_METHOD_CALL !1, 'set' 7 SEND_VAL_EX 5 8 DO_FCALL 0 42 9 NEW $10 'Factory' 10 DO_FCALL 0 11 ASSIGN !2, $10 43 12 INIT_METHOD_CALL !0, 'getInstance' 13 DO_FCALL 0 $13 14 ASSIGN !3, $13 44 15 INIT_FCALL 'var_dump' 16 INIT_METHOD_CALL !3, 'get' 17 DO_FCALL 0 $15 18 SEND_VAR $15 19 DO_ICALL 20 > RETURN 1 Class Singleton: Function __construct: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 7 Branch analysis from position: 3 1 jumps found. (Code = 108) Position 1 = -2 Branch analysis from position: 7 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/rhofk function name: __construct number of ops: 10 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 8 0 E > FETCH_STATIC_PROP_R unknown ~0 'instanciated' 1 TYPE_CHECK 8 ~0 2 > JMPZ ~1, ->7 9 3 > NEW $2 'RuntimeException' 4 SEND_VAL_EX 'Could+not+instanciate+class' 5 DO_FCALL 0 6 > THROW 0 $2 11 7 > ASSIGN_STATIC_PROP 'instanciated' 8 OP_DATA <true> 12 9 > RETURN null End of function __construct Function get: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/rhofk function name: get number of ops: 5 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 17 0 E > FETCH_OBJ_R ~0 'var' 1 VERIFY_RETURN_TYPE ~0 2 > RETURN ~0 18 3* VERIFY_RETURN_TYPE 4* > RETURN null End of function get Function set: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/rhofk function name: set number of ops: 4 compiled vars: !0 = $value line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 20 0 E > RECV !0 21 1 ASSIGN_OBJ 'var' 2 OP_DATA !0 22 3 > RETURN null End of function set End of class Singleton. Class Factory: Function getinstance: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 7 Branch analysis from position: 3 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 7 filename: /in/rhofk function name: getInstance number of ops: 10 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 31 0 E > FETCH_OBJ_R ~0 'instance' 1 TYPE_CHECK 2 ~0 2 > JMPZ ~1, ->7 32 3 > NEW $3 'Singleton' 4 DO_FCALL 0 5 ASSIGN_OBJ 'instance' 6 OP_DATA $3 34 7 > FETCH_OBJ_R ~5 'instance' 8 > RETURN ~5 35 9* > RETURN null End of function getinstance End of class Factory.
Generated using Vulcan Logic Dumper, using php 8.0.0