Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/OkDhv
function name: (null)
number of ops: 8
compiled vars: !0 = $main
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
18 0 E > ASSIGN !0, <array>
37 1 INIT_FCALL 'print_r'
2 INIT_FCALL 'sorter'
3 SEND_VAR !0
4 DO_FCALL 0 $2
5 SEND_VAR $2
6 DO_ICALL
7 > RETURN 1
Function sorter:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 18
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 18
Branch analysis from position: 27
Branch analysis from position: 18
filename: /in/OkDhv
function name: sorter
number of ops: 29
compiled vars: !0 = $array, !1 = $unique, !2 = $key, !3 = $value, !4 = $result
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
3 0 E > RECV !0
5 1 INIT_FCALL 'array_diff'
2 INIT_FCALL 'array_keys'
3 SEND_VAR !0
4 DO_ICALL $5
5 SEND_VAR $5
6 SEND_VAR !0
7 DO_ICALL $6
8 ASSIGN !1, $6
6 9 INIT_FCALL 'reset'
10 SEND_REF !1
11 DO_ICALL $8
12 ASSIGN !2, $8
7 13 FETCH_DIM_R ~10 !0, !2
14 ASSIGN !3, ~10
8 15 INIT_ARRAY ~12 !3, !2
16 ASSIGN !4, ~12
10 17 > JMP ->25
11 18 > FETCH_DIM_R ~14 !0, !2
19 ASSIGN !2, ~14
12 20 FETCH_DIM_R ~16 !0, !2
21 ASSIGN !3, ~16
13 22 INIT_ARRAY ~18 !3, !2
23 ADD ~19 ~18, !4
24 ASSIGN !4, ~19
10 25 > IS_NOT_EQUAL !2, !3
26 > JMPNZ ~21, ->18
15 27 > > RETURN !4
16 28* > RETURN null
End of function sorter
Generated using Vulcan Logic Dumper, using php 8.0.0