Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/NPp2L
function name: (null)
number of ops: 12
compiled vars: !0 = $class
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
3 0 E > DECLARE_CLASS 'a'
20 1 NEW $1 'A'
2 DO_FCALL 0
3 ASSIGN !0, $1
21 4 INIT_METHOD_CALL !0, 'mohamed'
5 SEND_VAL_EX 'name'
6 DO_FCALL 0 $4
7 INIT_METHOD_CALL $4, 'test'
8 SEND_VAL_EX 'mohamed'
9 DO_FCALL 0 $5
10 ECHO $5
11 > RETURN 1
Class A:
Function mohamed:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/NPp2L
function name: mohamed
number of ops: 6
compiled vars: !0 = $a
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
7 0 E > RECV !0
8 1 ASSIGN_OBJ 'a2'
2 OP_DATA !0
9 3 FETCH_THIS ~2
4 > RETURN ~2
10 5* > RETURN null
End of function mohamed
Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/NPp2L
function name: test
number of ops: 6
compiled vars: !0 = $b
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
11 0 E > RECV !0
12 1 ASSIGN_OBJ 'b2'
2 OP_DATA !0
13 3 FETCH_THIS ~2
4 > RETURN ~2
14 5* > RETURN null
End of function test
Function __tostring:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/NPp2L
function name: __tostring
number of ops: 10
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
17 0 E > FETCH_OBJ_R ~0 'a2'
1 CONCAT ~1 'A2+is+%27', ~0
2 CONCAT ~2 ~1, '%27+and+B2+is+%27'
3 FETCH_OBJ_R ~3 'b2'
4 CONCAT ~4 ~2, ~3
5 CONCAT ~5 ~4, '%27'
6 VERIFY_RETURN_TYPE ~5
7 > RETURN ~5
18 8* VERIFY_RETURN_TYPE
9* > RETURN null
End of function __tostring
End of class A.
Generated using Vulcan Logic Dumper, using php 8.0.0