Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/LVOQM
function name: (null)
number of ops: 10
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
14 0 E > INIT_FCALL 'iterator_to_array'
1 NEW $0 'B'
2 DO_FCALL 0
3 INIT_METHOD_CALL $0, 'get'
4 DO_FCALL 0 $2
5 SEND_VAR $2
6 DO_ICALL $3
7 FETCH_DIM_R ~4 $3, 0
8 ECHO ~4
9 > RETURN 1
Class A:
Function get:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/LVOQM
function name: get
number of ops: 3
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
4 0 E > > RETURN <array>
5 1* VERIFY_RETURN_TYPE
2* > RETURN null
End of function get
End of class A.
Class B:
Function get:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 161) Position 1 = -2
filename: /in/LVOQM
function name: get
number of ops: 3
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
9 0 E > GENERATOR_CREATE
10 1 YIELD 42
11 2 > GENERATOR_RETURN
End of function get
End of class B.
Generated using Vulcan Logic Dumper, using php 8.0.0