Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/pSl8I
function name: (null)
number of ops: 5
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
39 0 E > INIT_FCALL 'bintoweekdays'
1 SEND_VAL '11'
2 DO_FCALL 0 $0
3 ECHO $0
41 4 > RETURN 1
Function bintoweekdays:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 22
Branch analysis from position: 21
2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 26
Branch analysis from position: 25
2 jumps found. (Code = 43) Position 1 = 29, Position 2 = 30
Branch analysis from position: 29
2 jumps found. (Code = 43) Position 1 = 33, Position 2 = 34
Branch analysis from position: 33
2 jumps found. (Code = 43) Position 1 = 37, Position 2 = 38
Branch analysis from position: 37
2 jumps found. (Code = 43) Position 1 = 41, Position 2 = 42
Branch analysis from position: 41
2 jumps found. (Code = 43) Position 1 = 45, Position 2 = 46
Branch analysis from position: 45
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 46
Branch analysis from position: 42
Branch analysis from position: 38
Branch analysis from position: 34
Branch analysis from position: 30
Branch analysis from position: 26
Branch analysis from position: 22
filename: /in/pSl8I
function name: binToWeekdays
number of ops: 48
compiled vars: !0 = $binvalue, !1 = $array_week, !2 = $weekdays
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
5 0 E > RECV !0
7 1 INIT_FCALL 'str_pad'
2 SEND_VAR !0
3 SEND_VAL 7
4 SEND_VAL '0'
5 SEND_VAL 0
6 DO_ICALL $3
7 ASSIGN !0, $3
8 8 CONCAT ~5 !0, '%0A'
9 ECHO ~5
9 10 INIT_FCALL 'array_reverse'
11 INIT_FCALL 'str_split'
12 SEND_VAR !0
13 DO_ICALL $6
14 SEND_VAR $6
15 DO_ICALL $7
16 ASSIGN !1, $7
11 17 ASSIGN !2, ''
13 18 FETCH_DIM_R ~10 !1, 1
19 IS_EQUAL ~10, 1
20 > JMPZ ~11, ->22
14 21 > ASSIGN_OP 8 !2, 'Mon%2C+'
16 22 > FETCH_DIM_R ~13 !1, 2
23 IS_EQUAL ~13, 1
24 > JMPZ ~14, ->26
17 25 > ASSIGN_OP 8 !2, 'Tue%2C+'
19 26 > FETCH_DIM_R ~16 !1, 3
27 IS_EQUAL ~16, 1
28 > JMPZ ~17, ->30
20 29 > ASSIGN_OP 8 !2, 'Wed%2C+'
22 30 > FETCH_DIM_R ~19 !1, 4
31 IS_EQUAL ~19, 1
32 > JMPZ ~20, ->34
23 33 > ASSIGN_OP 8 !2, 'Thu%2C+'
25 34 > FETCH_DIM_R ~22 !1, 5
35 IS_EQUAL ~22, 1
36 > JMPZ ~23, ->38
26 37 > ASSIGN_OP 8 !2, 'Fri%2C+'
28 38 > FETCH_DIM_R ~25 !1, 6
39 IS_EQUAL ~25, 1
40 > JMPZ ~26, ->42
29 41 > ASSIGN_OP 8 !2, 'Sat%2C+'
31 42 > FETCH_DIM_R ~28 !1, 0
43 IS_EQUAL ~28, 1
44 > JMPZ ~29, ->46
32 45 > ASSIGN_OP 8 !2, 'Sun'
35 46 > > RETURN !2
37 47* > RETURN null
End of function bintoweekdays
Generated using Vulcan Logic Dumper, using php 8.0.0