Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/safPK
function name: (null)
number of ops: 6
compiled vars: !0 = $obj
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
29 0 E > NEW $1 'two'
1 DO_FCALL 0
2 ASSIGN !0, $1
30 3 INIT_METHOD_CALL !0, 'index'
4 DO_FCALL 0
5 > RETURN 1
Class one:
Function index:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 8
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/safPK
function name: index
number of ops: 10
compiled vars: !0 = $called_from
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
5 0 E > RECV_INIT !0 null
6 1 IS_NOT_EQUAL !0, 'myfunc'
2 > JMPZ ~1, ->8
7 3 > INIT_METHOD_CALL 'myfunc'
4 SEND_VAL_EX 'index'
5 DO_FCALL 0 $2
6 > RETURN $2
6 7* JMP ->9
9 8 > ECHO 'parent'
11 9 > RETURN null
End of function index
Function myfunc:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/safPK
function name: myfunc
number of ops: 6
compiled vars: !0 = $called_from
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
13 0 E > RECV !0
14 1 INIT_METHOD_CALL !0
2 SEND_VAL_EX 'myfunc'
3 DO_FCALL 0 $1
4 > RETURN $1
15 5* > RETURN null
End of function myfunc
End of class one.
Class two:
Function index:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 8
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/safPK
function name: index
number of ops: 10
compiled vars: !0 = $called_from
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
20 0 E > RECV_INIT !0 null
21 1 IS_NOT_EQUAL !0, 'myfunc'
2 > JMPZ ~1, ->8
22 3 > INIT_METHOD_CALL 'myfunc'
4 SEND_VAL_EX 'index'
5 DO_FCALL 0 $2
6 > RETURN $2
21 7* JMP ->9
24 8 > ECHO 'child'
26 9 > RETURN null
End of function index
Function myfunc:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/safPK
function name: myfunc
number of ops: 6
compiled vars: !0 = $called_from
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
13 0 E > RECV !0
14 1 INIT_METHOD_CALL !0
2 SEND_VAL_EX 'myfunc'
3 DO_FCALL 0 $1
4 > RETURN $1
15 5* > RETURN null
End of function myfunc
End of class two.
Generated using Vulcan Logic Dumper, using php 8.0.0