Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 17, Position 2 = 73
Branch analysis from position: 17
2 jumps found. (Code = 78) Position 1 = 18, Position 2 = 73
Branch analysis from position: 18
2 jumps found. (Code = 77) Position 1 = 29, Position 2 = 36
Branch analysis from position: 29
2 jumps found. (Code = 78) Position 1 = 30, Position 2 = 36
Branch analysis from position: 30
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
Branch analysis from position: 36
2 jumps found. (Code = 77) Position 1 = 50, Position 2 = 56
Branch analysis from position: 50
2 jumps found. (Code = 78) Position 1 = 51, Position 2 = 56
Branch analysis from position: 51
2 jumps found. (Code = 43) Position 1 = 53, Position 2 = 55
Branch analysis from position: 53
1 jumps found. (Code = 42) Position 1 = 50
Branch analysis from position: 50
Branch analysis from position: 55
Branch analysis from position: 56
2 jumps found. (Code = 77) Position 1 = 66, Position 2 = 71
Branch analysis from position: 66
2 jumps found. (Code = 78) Position 1 = 67, Position 2 = 71
Branch analysis from position: 67
1 jumps found. (Code = 42) Position 1 = 66
Branch analysis from position: 66
Branch analysis from position: 71
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
Branch analysis from position: 71
Branch analysis from position: 56
Branch analysis from position: 36
Branch analysis from position: 73
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 73
filename: /in/TbnPu
function name: (null)
number of ops: 75
compiled vars: !0 = $for_test, !1 = $init, !2 = $inita, !3 = $tokens, !4 = $strings, !5 = $token, !6 = $r, !7 = $tree, !8 = $value, !9 = $key
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
28 0 E > DECLARE_CLASS 'retoken'
41 1 DECLARE_CLASS 'resingletoken'
101 2 DECLARE_CLASS 'regroup'
329 3 ASSIGN !0, <array>
339 4 INIT_FCALL 'array_filter'
340 5 INIT_FCALL 'get_declared_classes'
6 DO_ICALL $12
7 SEND_VAR $12
341 8 DECLARE_LAMBDA_FUNCTION ~13 [0]
9 SEND_VAL ~13
339 10 DO_ICALL $14
337 11 FRAMELESS_ICALL_2 implode ~15 '%7C', $14
341 12 CONCAT ~16 '%28', ~15
343 13 CONCAT ~17 ~16, '%29'
337 14 ASSIGN_DIM !0
343 15 OP_DATA ~17
345 16 > FE_RESET_R $18 !0, ->73
17 > > FE_FETCH_R $18, !1, ->73
348 18 > ECHO '%0A%0A----%0A%0A'
349 19 FRAMELESS_ICALL_3 substr ~19 !1, 1
20 OP_DATA -1
21 ASSIGN !2, ~19
350 22 ASSIGN !3, <array>
351 23 INIT_FCALL 'explode'
24 SEND_VAL '%7C'
25 SEND_VAR !2
26 DO_ICALL $22
27 ASSIGN !4, $22
352 28 > FE_RESET_R $24 !4, ->36
29 > > FE_FETCH_R $24, !5, ->36
353 30 > NEW $26 'ReSingleToken'
31 SEND_VAR_EX !5
32 DO_FCALL 0
33 ASSIGN_DIM !3
34 OP_DATA $26
352 35 > JMP ->29
36 > FE_FREE $24
355 37 NEW $28 'ReGroup'
38 SEND_VAR_EX !3
39 SEND_VAL_EX ''
40 SEND_VAL_EX ''
41 SEND_VAL_EX <false>
42 DO_FCALL 0
43 ASSIGN !6, $28
356 44 INIT_METHOD_CALL !6, 'tryToOptimize'
45 DO_FCALL 0
358 46 CONCAT ~32 !1, '+%3D%3E+'
47 CONCAT ~33 ~32, !6
48 ECHO ~33
359 49 > FE_RESET_R $34 !6, ->56
50 > > FE_FETCH_R $34, !5, ->56
360 51 > INSTANCEOF !5, 'ReGroup'
52 > JMPZ ~35, ->55
361 53 > INIT_METHOD_CALL !5, 'tryToOptimize'
54 DO_FCALL 0
359 55 > > JMP ->50
56 > FE_FREE $34
363 57 CONCAT ~37 '%0A%0A', !6
58 CONCAT ~38 ~37, '%0A'
59 CONCAT ~39 ~38, '%0A'
60 ECHO ~39
364 61 NEW $40 'RecursiveTreeIterator'
62 SEND_VAR_EX !6
63 DO_FCALL 0
64 ASSIGN !7, $40
365 65 > FE_RESET_R $43 !7, ->71
66 > > FE_FETCH_R ~44 $43, !8, ->71
67 > ASSIGN !9, ~44
366 68 CONCAT ~46 !8, '%0A'
69 ECHO ~46
365 70 > JMP ->66
71 > FE_FREE $43
345 72 > JMP ->17
73 > FE_FREE $18
397 74 > RETURN 1
Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/TbnPu
function name: {closure:/in/TbnPu:341}
number of ops: 6
compiled vars: !0 = $value
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
341 0 E > RECV !0
1 FRAMELESS_ICALL_2 strpos ~1 !0, '%5C'
2 BOOL ~2 ~1
3 BOOL_NOT ~3 ~2
4 > RETURN ~3
5* > RETURN null
End of Dynamic Function 0
Function most_frequent:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 77) Position 1 = 13, Position 2 = 30
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 30
Branch analysis from position: 14
2 jumps found. (Code = 77) Position 1 = 19, Position 2 = 24
Branch analysis from position: 19
2 jumps found. (Code = 78) Position 1 = 20, Position 2 = 24
Branch analysis from position: 20
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 23
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
Branch analysis from position: 23
Branch analysis from position: 24
2 jumps found. (Code = 43) Position 1 = 27, Position 2 = 29
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 29
Branch analysis from position: 24
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 30
filename: /in/TbnPu
function name: most_frequent
number of ops: 35
compiled vars: !0 = $list_to_search, !1 = $it, !2 = $counter, !3 = $num, !4 = $i, !5 = $curr_frequency, !6 = $j
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
6 0 E > RECV !0
8 1 COUNT ~7 !0
2 IS_IDENTICAL ~7, 0
3 > JMPZ ~8, ->5
9 4 > > RETURN <array>
10 5 > NEW $9 'ArrayIterator'
6 SEND_VAR_EX !0
7 DO_FCALL 0
8 ASSIGN !1, $9
11 9 ASSIGN !2, 0
12 10 FETCH_DIM_R ~13 !0, 0
11 ASSIGN !3, ~13
13 12 > FE_RESET_R $15 !1, ->30
13 > > FE_FETCH_R $15, !4, ->30
14 14 > ASSIGN !5, 0
15 15 NEW $17 'ArrayIterator'
16 SEND_VAR_EX !0
17 DO_FCALL 0
18 > FE_RESET_R $19 $17, ->24
19 > > FE_FETCH_R $19, !6, ->24
16 20 > IS_IDENTICAL !6, !4
21 > JMPZ ~20, ->23
17 22 > PRE_INC !5
15 23 > > JMP ->19
24 > FE_FREE $19
20 25 IS_SMALLER !2, !5
26 > JMPZ ~22, ->29
21 27 > ASSIGN !2, !5
22 28 ASSIGN !3, !4
13 29 > > JMP ->13
30 > FE_FREE $15
25 31 INIT_ARRAY ~25 !3
32 ADD_ARRAY_ELEMENT ~25 !2
33 > RETURN ~25
26 34* > RETURN null
End of function most_frequent
Class ReToken:
Function is_empty:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/TbnPu
function name: is_empty
number of ops: 2
compiled vars: none
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
29 0 E > VERIFY_RETURN_TYPE
1 > RETURN null
End of function is_empty
Function get_head:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/TbnPu
function name: get_head
number of ops: 2
compiled vars: none
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
30 0 E > VERIFY_RETURN_TYPE
1 > RETURN null
End of function get_head
Function has_head:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/TbnPu
function name: has_head
number of ops: 2
compiled vars: none
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
31 0 E > VERIFY_RETURN_TYPE
1 > RETURN null
End of function has_head
Function get_tail:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/TbnPu
function name: get_tail
number of ops: 2
compiled vars: none
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
32 0 E > VERIFY_RETURN_TYPE
1 > RETURN null
End of function get_tail
Function has_tail:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/TbnPu
function name: has_tail
number of ops: 2
compiled vars: none
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
33 0 E > VERIFY_RETURN_TYPE
1 > RETURN null
End of function has_tail
Function create_without_head:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/TbnPu
function name: create_without_head
number of ops: 2
compiled vars: none
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
34 0 E > VERIFY_RETURN_TYPE
1 > RETURN null
End of function create_without_head
Function create_without_tail:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/TbnPu
function name: create_without_tail
number of ops: 2
compiled vars: none
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
35 0 E > VERIFY_RETURN_TYPE
1 > RETURN null
End of function create_without_tail
End of class ReToken.
Class ReSingleToken:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/TbnPu
function name: __construct
number of ops: 13
compiled vars: !0 = $val, !1 = $regexV1, !2 = $regexV2, !3 = $words
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
44 0 E > RECV !0
46 1 ASSIGN !1, '%2F%28%5BA-Z%5D%2A%5Ba-z_0-9%5D%2A%29%28%3F%3D%5BA-Z%5D%2B%29%2F'
47 2 ASSIGN !2, '%7E%28%5BA-Z%5D%3F%5B%5EA-Z%5D%2B%7C%5BA-Z%5D%2B%28%3F%3D%5BA-Z%5D%5B%5EA-Z%5D%7C%24%29%29%7E'
48 3 INIT_FCALL 'preg_split'
4 SEND_VAR !2
5 SEND_VAR !0
6 SEND_VAL -1
7 SEND_VAL 3
8 DO_ICALL $6
9 ASSIGN !3, $6
50 10 ASSIGN_OBJ 'vals'
11 OP_DATA !3
52 12 > RETURN null
End of function __construct
Function __tostring:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/TbnPu
function name: __toString
number of ops: 6
compiled vars: none
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
55 0 E > FETCH_OBJ_R ~0 'vals'
1 FRAMELESS_ICALL_2 implode ~1 '', ~0
2 VERIFY_RETURN_TYPE ~1
3 > RETURN ~1
56 4* VERIFY_RETURN_TYPE
5* > RETURN null
End of function __tostring
Function count:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/TbnPu
function name: count
number of ops: 6
compiled vars: none
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
59 0 E > FETCH_OBJ_R ~0 'vals'
1 COUNT ~1 ~0
2 VERIFY_RETURN_TYPE ~1
3 > RETURN ~1
60 4* VERIFY_RETURN_TYPE
5* > RETURN null
End of function count
Function is_empty:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/TbnPu
function name: is_empty
number of ops: 7
compiled vars: none
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
63 0 E > FETCH_THIS ~0
1 COUNT ~1 ~0
2 IS_IDENTICAL ~2 ~1, 0
3 VERIFY_RETURN_TYPE ~2
4 > RETURN ~2
64 5* VERIFY_RETURN_TYPE
6* > RETURN null
End of function is_empty
Function get_head:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 8
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/TbnPu
function name: get_head
number of ops: 13
compiled vars: none
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
67 0 E > FETCH_THIS ~0
1 COUNT ~1 ~0
2 IS_SMALLER 0, ~1
3 > JMPZ ~2, ->8
4 > FETCH_OBJ_R ~3 'vals'
5 FETCH_DIM_R ~4 ~3, 0
6 QM_ASSIGN ~5 ~4
7 > JMP ->9
8 > QM_ASSIGN ~5 ''
9 > VERIFY_RETURN_TYPE ~5
10 > RETURN ~5
68 11* VERIFY_RETURN_TYPE
12* > RETURN null
End of function get_head
Function has_head:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/TbnPu
function name: has_head
number of ops: 3
compiled vars: none
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
71 0 E > > RETURN <true>
72 1* VERIFY_RETURN_TYPE
2* > RETURN null
End of function has_head
Function get_tail:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 12
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/TbnPu
function name: get_tail
number of ops: 17
compiled vars: none
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
75 0 E > FETCH_THIS ~0
1 COUNT ~1 ~0
2 IS_SMALLER 0, ~1
3 > JMPZ ~2, ->12
4 > INIT_FCALL 'array_key_last'
5 FETCH_OBJ_R ~4 'vals'
6 SEND_VAL ~4
7 DO_ICALL $5
8 FETCH_OBJ_R ~3 'vals'
9 FETCH_DIM_R ~6 ~3, $5
10 QM_ASSIGN ~7 ~6
11 > JMP ->13
12 > QM_ASSIGN ~7 ''
13 > VERIFY_RETURN_TYPE ~7
14 > RETURN ~7
76 15* VERIFY_RETURN_TYPE
16* > RETURN null
End of function get_tail
Function has_tail:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/TbnPu
function name: has_tail
number of ops: 3
compiled vars: none
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
79 0 E > > RETURN <true>
80 1* VERIFY_RETURN_TYPE
2* > RETURN null
End of function has_tail
Function create_without_head:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 8
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename: /in/TbnPu
function name: create_without_head
number of ops: 16
compiled vars: !0 = $vals
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
83 0 E > FETCH_OBJ_R ~1 'vals'
1 ASSIGN !0, ~1
84 2 INIT_METHOD_CALL 'has_head'
3 DO_FCALL 0 $3
4 > JMPZ $3, ->8
86 5 > INIT_FCALL 'array_shift'
6 SEND_REF !0
7 DO_ICALL
88 8 > NEW $5 'ReSingleToken'
9 FRAMELESS_ICALL_2 implode ~6 '', !0
10 SEND_VAL_EX ~6
11 DO_FCALL 0
12 VERIFY_RETURN_TYPE $5
13 > RETURN $5
89 14* VERIFY_RETURN_TYPE
15* > RETURN null
End of function create_without_head
Function create_without_tail:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 8
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename: /in/TbnPu
function name: create_without_tail
number of ops: 16
compiled vars: !0 = $vals
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
92 0 E > FETCH_OBJ_R ~1 'vals'
1 ASSIGN !0, ~1
93 2 INIT_METHOD_CALL 'has_tail'
3 DO_FCALL 0 $3
4 > JMPZ $3, ->8
95 5 > INIT_FCALL 'array_pop'
6 SEND_REF !0
7 DO_ICALL
97 8 > NEW $5 'ReSingleToken'
9 FRAMELESS_ICALL_2 implode ~6 '', !0
10 SEND_VAL_EX ~6
11 DO_FCALL 0
12 VERIFY_RETURN_TYPE $5
13 > RETURN $5
98 14* VERIFY_RETURN_TYPE
15* > RETURN null
End of function create_without_tail
End of class ReSingleToken.
Class ReGroup:
Function __construct:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 13, Position 2 = 23
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 23
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 22
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 22
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
filename: /in/TbnPu
function name: __construct
number of ops: 25
compiled vars: !0 = $tokens, !1 = $commonBeginning, !2 = $commonEnding, !3 = $optional, !4 = $value, !5 = $key
line #* E I O op fetch ext return operands
----------------Generated using Vulcan Logic Dumper, using php 8.5.0