Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/lU5Xt
function name: (null)
number of ops: 12
compiled vars: !0 = $test1
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
3 0 E > INIT_FCALL 'error_reporting'
1 SEND_VAL 30719
2 DO_ICALL
25 3 NEW $2 'foo'
4 DO_FCALL 0
5 ASSIGN !0, $2
26 6 INIT_FCALL 'var_dump'
7 INIT_METHOD_CALL !0, 'getName'
8 DO_FCALL 0 $5
9 SEND_VAR $5
10 DO_ICALL
11 > RETURN 1
Class foo:
Function setname:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 8
Branch analysis from position: 4
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/lU5Xt
function name: setName
number of ops: 11
compiled vars: !0 = $name
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
10 0 E > RECV !0
12 1 ISSET_ISEMPTY_PROP_OBJ ~1 'name'
2 BOOL_NOT ~2 ~1
3 > JMPZ ~2, ->8
13 4 > NEW $3 'RuntimeException'
5 SEND_VAL_EX 'name+already+set+and+cannot+be+changed.'
6 DO_FCALL 0
7 > THROW 0 $3
15 8 > ASSIGN_OBJ 'name'
9 OP_DATA !0
16 10 > RETURN null
End of function setname
Function getname:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/lU5Xt
function name: getName
number of ops: 5
compiled vars: none
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
20 0 E > FETCH_OBJ_R ~0 'name'
1 VERIFY_RETURN_TYPE ~0
2 > RETURN ~0
21 3* VERIFY_RETURN_TYPE
4* > RETURN null
End of function getname
End of class foo.
Generated using Vulcan Logic Dumper, using php 8.5.0