Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename: /in/SUZs2
function name: (null)
number of ops: 11
compiled vars: !0 = $rtags, !1 = $tag
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
42 0 E > INIT_FCALL 'test'
1 DO_FCALL 0 $2
2 ASSIGN !0, $2
44 3 > FE_RESET_R $4 !0, ->9
4 > > FE_FETCH_R $4, !1, ->9
5 > FETCH_OBJ_R ~5 !1, 'id'
6 CONCAT ~6 ~5, '+'
7 ECHO ~6
8 > JMP ->4
9 > FE_FREE $4
10 > RETURN 1
Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/SUZs2
function name: test
number of ops: 35
compiled vars: !0 = $orderedids, !1 = $tags, !2 = $flipped, !3 = $sorter
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
4 0 E > ASSIGN !0, <array>
7 1 NEW $5 'Tag'
2 SEND_VAL_EX 3
3 DO_FCALL 0
4 INIT_ARRAY ~7 $5
8 5 NEW $8 'Tag'
6 SEND_VAL_EX 7
7 DO_FCALL 0
8 ADD_ARRAY_ELEMENT ~7 $8
9 9 NEW $10 'Tag'
10 SEND_VAL_EX 5
11 DO_FCALL 0
12 ADD_ARRAY_ELEMENT ~7 $10
10 13 NEW $12 'Tag'
14 SEND_VAL_EX 9
15 DO_FCALL 0
16 ADD_ARRAY_ELEMENT ~7 $12
6 17 ASSIGN !1, ~7
13 18 INIT_FCALL 'array_flip'
19 SEND_VAR !0
20 DO_ICALL $15
21 ASSIGN !2, $15
15 22 DECLARE_CLASS 'sorter'
27 23 NEW $17 'Sorter'
24 SEND_VAR_EX !2
25 DO_FCALL 0
26 ASSIGN !3, $17
29 27 INIT_FCALL 'usort'
28 SEND_REF !1
29 INIT_ARRAY ~20 !3
30 ADD_ARRAY_ELEMENT ~20 'fsort'
31 SEND_VAL ~20
32 DO_ICALL
31 33 > RETURN !1
32 34* > RETURN null
End of function test
Class Sorter:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/SUZs2
function name: __construct
number of ops: 4
compiled vars: !0 = $flipped
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
17 0 E > RECV !0
18 1 ASSIGN_OBJ 'flipped'
2 OP_DATA !0
19 3 > RETURN null
End of function __construct
Function fsort:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 22
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/SUZs2
function name: fsort
number of ops: 24
compiled vars: !0 = $tag1, !1 = $tag2
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
20 0 E > RECV !0
1 RECV !1
21 2 FETCH_OBJ_R ~3 !0, 'id'
3 FETCH_OBJ_R ~2 'flipped'
4 FETCH_DIM_R ~4 ~2, ~3
5 FETCH_OBJ_R ~6 !1, 'id'
6 FETCH_OBJ_R ~5 'flipped'
7 FETCH_DIM_R ~7 ~5, ~6
8 IS_SMALLER ~4, ~7
9 > JMPZ ~8, ->12
10 > > RETURN -1
11* JMP ->23
22 12 > FETCH_OBJ_R ~10 !0, 'id'
13 FETCH_OBJ_R ~9 'flipped'
14 FETCH_DIM_R ~11 ~9, ~10
15 FETCH_OBJ_R ~13 !1, 'id'
16 FETCH_OBJ_R ~12 'flipped'
17 FETCH_DIM_R ~14 ~12, ~13
18 IS_EQUAL ~11, ~14
19 > JMPZ ~15, ->22
20 > > RETURN 0
21* JMP ->23
23 22 > > RETURN 1
24 23* > RETURN null
End of function fsort
End of class Sorter.
Class Tag:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/SUZs2
function name: __construct
number of ops: 4
compiled vars: !0 = $id
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
37 0 E > RECV !0
38 1 ASSIGN_OBJ 'id'
2 OP_DATA !0
39 3 > RETURN null
End of function __construct
End of class Tag.
Generated using Vulcan Logic Dumper, using php 8.0.0