Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/pnuv9
function name: (null)
number of ops: 76
compiled vars: !0 = $streetRacer, !1 = $formulaone, !2 = $helicopter, !3 = $jets, !4 = $streetRacerByCtor, !5 = $formulaoneByCtor, !6 = $helicopterByCtor, !7 = $jetsByCtor
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
8 0 E > DECLARE_CLASS 'gobydrivingalgorithm'
16 1 DECLARE_CLASS 'gobyflying'
24 2 DECLARE_CLASS 'gobyflyingfast'
52 3 NEW $8 'Vehicle'
4 DO_FCALL 0
5 ASSIGN !0, $8
53 6 INIT_METHOD_CALL !0, 'setGoAlgorithm'
7 NEW $11 'GoByDrivingAlgorithm'
8 DO_FCALL 0
9 SEND_VAR_NO_REF_EX $11
10 DO_FCALL 0
54 11 NEW $14 'Vehicle'
12 DO_FCALL 0
13 ASSIGN !1, $14
55 14 INIT_METHOD_CALL !1, 'setGoAlgorithm'
15 NEW $17 'GoByDrivingAlgorithm'
16 DO_FCALL 0
17 SEND_VAR_NO_REF_EX $17
18 DO_FCALL 0
56 19 NEW $20 'Vehicle'
20 DO_FCALL 0
21 ASSIGN !2, $20
57 22 INIT_METHOD_CALL !2, 'setGoAlgorithm'
23 NEW $23 'GoByFlying'
24 DO_FCALL 0
25 SEND_VAR_NO_REF_EX $23
26 DO_FCALL 0
58 27 NEW $26 'Vehicle'
28 DO_FCALL 0
29 ASSIGN !3, $26
59 30 INIT_METHOD_CALL !3, 'setGoAlgorithm'
31 NEW $29 'GoByFlyingFast'
32 DO_FCALL 0
33 SEND_VAR_NO_REF_EX $29
34 DO_FCALL 0
61 35 INIT_METHOD_CALL !0, 'drive'
36 DO_FCALL 0
62 37 INIT_METHOD_CALL !1, 'drive'
38 DO_FCALL 0
63 39 INIT_METHOD_CALL !2, 'drive'
40 DO_FCALL 0
64 41 INIT_METHOD_CALL !3, 'drive'
42 DO_FCALL 0
67 43 NEW $36 'Vehicle'
44 NEW $37 'GoByDrivingAlgorithm'
45 DO_FCALL 0
46 SEND_VAR_NO_REF_EX $37
47 DO_FCALL 0
48 ASSIGN !4, $36
68 49 NEW $41 'Vehicle'
50 NEW $42 'GoByDrivingAlgorithm'
51 DO_FCALL 0
52 SEND_VAR_NO_REF_EX $42
53 DO_FCALL 0
54 ASSIGN !5, $41
69 55 NEW $46 'Vehicle'
56 NEW $47 'GoByFlying'
57 DO_FCALL 0
58 SEND_VAR_NO_REF_EX $47
59 DO_FCALL 0
60 ASSIGN !6, $46
70 61 NEW $51 'Vehicle'
62 NEW $52 'GoByFlyingFast'
63 DO_FCALL 0
64 SEND_VAR_NO_REF_EX $52
65 DO_FCALL 0
66 ASSIGN !7, $51
72 67 INIT_METHOD_CALL !4, 'drive'
68 DO_FCALL 0
73 69 INIT_METHOD_CALL !5, 'drive'
70 DO_FCALL 0
74 71 INIT_METHOD_CALL !6, 'drive'
72 DO_FCALL 0
75 73 INIT_METHOD_CALL !7, 'drive'
74 DO_FCALL 0
75 > RETURN 1
Class GoAlgorithm:
Function go:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/pnuv9
function name: go
number of ops: 1
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
5 0 E > > RETURN null
End of function go
End of class GoAlgorithm.
Class GoByDrivingAlgorithm:
Function go:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/pnuv9
function name: go
number of ops: 2
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
12 0 E > ECHO 'Now+I%27m+driving.%0A'
13 1 > RETURN null
End of function go
End of class GoByDrivingAlgorithm.
Class GoByFlying:
Function go:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/pnuv9
function name: go
number of ops: 2
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
20 0 E > ECHO 'Now+I%27m+flying.%0A'
21 1 > RETURN null
End of function go
End of class GoByFlying.
Class GoByFlyingFast:
Function go:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/pnuv9
function name: go
number of ops: 2
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
28 0 E > ECHO 'Now+I%27m+flying+fast%0A'
29 1 > RETURN null
End of function go
End of class GoByFlyingFast.
Class Vehicle:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/pnuv9
function name: __construct
number of ops: 4
compiled vars: !0 = $goType
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
36 0 E > RECV_INIT !0 null
37 1 ASSIGN_OBJ 'goAlgorithm'
2 OP_DATA !0
38 3 > RETURN null
End of function __construct
Function setgoalgorithm:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/pnuv9
function name: setGoAlgorithm
number of ops: 4
compiled vars: !0 = $goType
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
40 0 E > RECV !0
42 1 ASSIGN_OBJ 'goAlgorithm'
2 OP_DATA !0
43 3 > RETURN null
End of function setgoalgorithm
Function drive:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/pnuv9
function name: drive
number of ops: 4
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
47 0 E > FETCH_OBJ_R ~0 'goAlgorithm'
1 INIT_METHOD_CALL ~0, 'go'
2 DO_FCALL 0
48 3 > RETURN null
End of function drive
End of class Vehicle.
Generated using Vulcan Logic Dumper, using php 8.0.0