Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/tFh1U
function name: (null)
number of ops: 25
compiled vars: !0 = $arr
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
2 0 E > ASSIGN !0, <array>
4 1 FETCH_DIM_W $2 !0, 'i1'
2 ASSIGN_DIM $2, 'val1'
3 OP_DATA 99
5 4 FETCH_DIM_W $4 !0, 'i1'
5 ASSIGN_DIM $4, 'val2'
6 OP_DATA 100
7 7 FETCH_DIM_W $6 !0, 'i2'
8 ASSIGN_DIM $6, 'val1'
9 OP_DATA 89
8 10 FETCH_DIM_W $8 !0, 'i2'
11 ASSIGN_DIM $8, 'val2'
12 OP_DATA 101
18 13 INIT_FCALL 'uksort'
14 SEND_REF !0
15 SEND_VAL 'cmp'
16 DO_ICALL $10
17 > JMPZ $10, ->20
20 18 > ECHO 'success%0A'
18 19 > JMP ->21
24 20 > ECHO 'failure%0A'
27 21 > INIT_FCALL 'print_r'
22 SEND_VAR !0
23 DO_ICALL
24 > RETURN 1
Function cmp:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 20
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/tFh1U
function name: cmp
number of ops: 22
compiled vars: !0 = $a, !1 = $b, !2 = $q
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
11 0 E > RECV !0
1 RECV !1
13 2 FETCH_R global ~3 'arr'
3 FETCH_DIM_R ~4 ~3, !0
4 FETCH_DIM_R ~5 ~4, 'val2'
5 FETCH_R global ~6 'arr'
6 FETCH_DIM_R ~7 ~6, !1
7 FETCH_DIM_R ~8 ~7, 'val2'
8 IS_SMALLER ~8, ~5
9 > JMPZ ~9, ->11
10 > > RETURN 1
14 11 > FETCH_R global ~10 'arr'
12 FETCH_DIM_R ~11 ~10, !2
13 FETCH_DIM_R ~12 ~11, 'val2'
14 FETCH_R global ~13 'arr'
15 FETCH_DIM_R ~14 ~13, !1
16 FETCH_DIM_R ~15 ~14, 'val2'
17 IS_SMALLER ~12, ~15
18 > JMPZ ~16, ->20
19 > > RETURN -1
15 20 > > RETURN 0
16 21* > RETURN null
End of function cmp
Generated using Vulcan Logic Dumper, using php 8.0.0