Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/gdekl
function name: (null)
number of ops: 36
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
8 0 E > INIT_FCALL 'daysuntil'
1 SEND_VAL 'Wednesday'
2 SEND_VAL 'Saturday'
3 DO_FCALL 0 $0
4 ECHO $0
9 5 INIT_FCALL 'daysuntil'
6 SEND_VAL 'Monday'
7 SEND_VAL 'Friday'
8 DO_FCALL 0 $1
9 ECHO $1
10 10 INIT_FCALL 'daysuntil'
11 SEND_VAL 'Thursday'
12 SEND_VAL 'Thursday'
13 DO_FCALL 0 $2
14 ECHO $2
11 15 INIT_FCALL 'daysuntil'
16 SEND_VAL 'Friday'
17 SEND_VAL 'Monday'
18 DO_FCALL 0 $3
19 ECHO $3
12 20 INIT_FCALL 'daysuntil'
21 SEND_VAL 'Saturday'
22 SEND_VAL 'Sunday'
23 DO_FCALL 0 $4
24 ECHO $4
13 25 INIT_FCALL 'daysuntil'
26 SEND_VAL 'Sunday'
27 SEND_VAL 'Saturday'
28 DO_FCALL 0 $5
29 ECHO $5
14 30 INIT_FCALL 'daysuntil'
31 SEND_VAL 'Sunday'
32 SEND_VAL 'Wednesday'
33 DO_FCALL 0 $6
34 ECHO $6
35 > RETURN 1
Function daysuntil:
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 = 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/gdekl
function name: daysUntil
number of ops: 23
compiled vars: !0 = $start, !1 = $end, !2 = $lookup, !3 = $days
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
2 0 E > RECV !0
1 RECV !1
3 2 ASSIGN !2, <array>
4 3 FETCH_DIM_R ~5 !2, !1
4 FETCH_DIM_R ~6 !2, !0
5 SUB ~7 ~5, ~6
6 FETCH_DIM_R ~8 !2, !1
7 FETCH_DIM_R ~9 !2, !0
8 IS_SMALLER_OR_EQUAL ~8, ~9
9 > JMPZ ~10, ->12
10 > QM_ASSIGN ~11 7
11 > JMP ->13
12 > QM_ASSIGN ~11 0
13 > ADD ~12 ~7, ~11
14 ASSIGN !3, ~12
5 15 ROPE_INIT 6 ~15 !3
16 ROPE_ADD 1 ~15 ~15, '+days+from+'
17 ROPE_ADD 2 ~15 ~15, !0
18 ROPE_ADD 3 ~15 ~15, '+to+'
19 ROPE_ADD 4 ~15 ~15, !1
20 ROPE_END 5 ~14 ~15, '%0A'
21 > RETURN ~14
6 22* > RETURN null
End of function daysuntil
Generated using Vulcan Logic Dumper, using php 8.0.0