Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/2nDZS
function name: (null)
number of ops: 16
compiled vars: !0 = $foo
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
15 0 E > NEW $1 'Foo'
1 DO_FCALL 0
2 ASSIGN !0, $1
17 3 ECHO 'Calling+via+accessor%3A%0A'
18 4 INIT_FCALL 'var_dump'
5 FETCH_OBJ_R ~4 !0, 'foo'
6 SEND_VAL ~4
7 DO_ICALL
20 8 ECHO 'Calling+method+directly%3A%0A'
21 9 INIT_FCALL 'var_dump'
10 INIT_METHOD_CALL !0, 'bar'
11 SEND_VAL_EX 'foo'
12 DO_FCALL 0 $6
13 SEND_VAR $6
14 DO_ICALL
15 > RETURN 1
Class Foo:
Function __get:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/2nDZS
function name: __get
number of ops: 10
compiled vars: !0 = $name
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
4 0 E > RECV !0
5 1 ROPE_INIT 3 ~2 '__get%28'
2 ROPE_ADD 1 ~2 ~2, !0
3 ROPE_END 2 ~1 ~2, '%29%0A'
4 ECHO ~1
6 5 INIT_METHOD_CALL 'bar'
6 SEND_VAR_EX !0
7 DO_FCALL 0 $4
8 > RETURN $4
7 9* > RETURN null
End of function __get
Function bar:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/2nDZS
function name: bar
number of ops: 8
compiled vars: !0 = $name
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
9 0 E > RECV !0
10 1 ROPE_INIT 3 ~2 'bar%28'
2 ROPE_ADD 1 ~2 ~2, !0
3 ROPE_END 2 ~1 ~2, '%29%0A'
4 ECHO ~1
11 5 FETCH_OBJ_R ~4 'foo'
6 > RETURN ~4
12 7* > RETURN null
End of function bar
End of class Foo.
Generated using Vulcan Logic Dumper, using php 8.0.0