Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/njkk3
function name: (null)
number of ops: 29
compiled vars: !0 = $myclass, !1 = $otherclass, !2 = $foo
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
44 0 E > NEW $3 'MyClass'
1 DO_FCALL 0
2 ASSIGN !0, $3
45 3 NEW $6 'OtherClass'
4 DO_FCALL 0
5 ASSIGN !1, $6
46 6 NEW $9 'MyClass'
7 DO_FCALL 0
8 ASSIGN !2, $9
47 9 INIT_METHOD_CALL !2, 'test'
10 SEND_VAR_EX !2
11 DO_FCALL 0
49 12 INIT_METHOD_CALL !0, 'test'
13 SEND_VAR_EX !1
14 DO_FCALL 0
53 15 INIT_METHOD_CALL !0, 'test_array'
16 SEND_VAL_EX <array>
17 DO_FCALL 0
56 18 INIT_METHOD_CALL !0, 'test_interface'
19 NEW $15 'ArrayObject'
20 SEND_VAL_EX <array>
21 DO_FCALL 0
22 SEND_VAR_NO_REF_EX $15
23 DO_FCALL 0
59 24 INIT_METHOD_CALL !0, 'test_callable'
25 SEND_VAL_EX 'var_dump'
26 SEND_VAL_EX 1
27 DO_FCALL 0
60 28 > RETURN 1
Class MyClass:
Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/njkk3
function name: test
number of ops: 4
compiled vars: !0 = $otherclass
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
11 0 E > RECV !0
12 1 FETCH_OBJ_R ~1 !0, 'var'
2 ECHO ~1
13 3 > RETURN null
End of function test
Function test_array:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/njkk3
function name: test_array
number of ops: 5
compiled vars: !0 = $input_array
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
21 0 E > RECV !0
22 1 INIT_FCALL 'print_r'
2 SEND_VAR !0
3 DO_ICALL
23 4 > RETURN null
End of function test_array
Function test_interface:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/njkk3
function name: test_interface
number of ops: 4
compiled vars: !0 = $iterator
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
28 0 E > RECV !0
29 1 GET_CLASS ~1 !0
2 ECHO ~1
30 3 > RETURN null
End of function test_interface
Function test_callable:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/njkk3
function name: test_callable
number of ops: 6
compiled vars: !0 = $callback, !1 = $data
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
35 0 E > RECV !0
1 RECV !1
36 2 INIT_USER_CALL 1 'call_user_func', !0
3 SEND_USER !1
4 DO_FCALL 0
37 5 > RETURN null
End of function test_callable
End of class MyClass.
Class OtherClass: [no user functions]
Generated using Vulcan Logic Dumper, using php 8.0.0