Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/UMUY7
function name: (null)
number of ops: 14
compiled vars: !0 = $input, !1 = $date
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
46 0 E > ASSIGN !0, '04%2F03%2F2018'
47 1 ROPE_INIT 3 ~4 'Starting+Date%3A+'
2 ROPE_ADD 1 ~4 ~4, !0
3 ROPE_END 2 ~3 ~4, '%0A'
4 ECHO ~3
48 5 NEW $6 'PayDay'
6 SEND_VAR_EX !0
7 DO_FCALL 0
8 ASSIGN !1, $6
49 9 ECHO 'Qualifying+PayDate%3A+'
10 INIT_METHOD_CALL !1, 'getPayDate'
11 DO_FCALL 0 $9
12 ECHO $9
13 > RETURN 1
Class PayDay:
Function __construct:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 8
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 27, Position 2 = 40
Branch analysis from position: 27
2 jumps found. (Code = 77) Position 1 = 28, Position 2 = 39
Branch analysis from position: 28
2 jumps found. (Code = 78) Position 1 = 29, Position 2 = 39
Branch analysis from position: 29
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
Branch analysis from position: 39
2 jumps found. (Code = 43) Position 1 = 60, Position 2 = 71
Branch analysis from position: 60
2 jumps found. (Code = 77) Position 1 = 61, Position 2 = 70
Branch analysis from position: 61
2 jumps found. (Code = 78) Position 1 = 62, Position 2 = 70
Branch analysis from position: 62
2 jumps found. (Code = 43) Position 1 = 65, Position 2 = 69
Branch analysis from position: 65
1 jumps found. (Code = 42) Position 1 = 61
Branch analysis from position: 61
Branch analysis from position: 69
Branch analysis from position: 70
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 70
Branch analysis from position: 71
Branch analysis from position: 39
Branch analysis from position: 40
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 27, Position 2 = 40
Branch analysis from position: 27
Branch analysis from position: 40
filename: /in/UMUY7
function name: __construct
number of ops: 72
compiled vars: !0 = $dmY, !1 = $holiday_calendar, !2 = $obj, !3 = $payroll_days_list
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
4 0 E > RECV_INIT !0 null
5 1 TYPE_CHECK 2 !0
2 > JMPZ ~5, ->8
3 > NEW $6 'DateTime'
4 SEND_VAL_EX 'midnight'
5 DO_FCALL 0
6 QM_ASSIGN ~8 $6
7 > JMP ->13
8 > INIT_STATIC_METHOD_CALL 'DateTime', 'createFromFormat'
9 SEND_VAL '%21d%2Fm%2FY'
10 SEND_VAR !0
11 DO_FCALL 0 $9
12 QM_ASSIGN ~8 $9
13 > ASSIGN_OBJ 'date'
14 OP_DATA ~8
8 15 CAST 8 ~10 <array>
16 INIT_ARRAY ~11 ~10
9 17 CAST 8 ~12 <array>
18 ADD_ARRAY_ELEMENT ~11 ~12
10 19 CAST 8 ~13 <array>
20 ADD_ARRAY_ELEMENT ~11 ~13
7 21 ASSIGN !1, ~11
12 22 ASSIGN_OBJ 'blacklist_holidates'
23 OP_DATA <array>
13 24 ISSET_ISEMPTY_CV ~16 !1
25 BOOL_NOT ~17 ~16
26 > JMPZ ~17, ->40
14 27 > > FE_RESET_R $18 !1, ->39
28 > > FE_FETCH_R $18, !2, ->39
15 29 > FETCH_OBJ_R ~20 !2, 'holiday'
30 INIT_STATIC_METHOD_CALL 'DateTime', 'createFromFormat'
31 SEND_VAL '%21Y-m-d'
32 FETCH_OBJ_R ~22 !2, 'holidayDate'
33 SEND_VAL ~22
34 DO_FCALL 0 $23
35 FETCH_OBJ_W $19 'blacklist_holidates'
36 ASSIGN_DIM $19, ~20
37 OP_DATA $23
14 38 > JMP ->28
39 > FE_FREE $18
20 40 > CAST 8 ~24 <array>
41 INIT_ARRAY ~25 ~24
21 42 CAST 8 ~26 <array>
43 ADD_ARRAY_ELEMENT ~25 ~26
22 44 CAST 8 ~27 <array>
45 ADD_ARRAY_ELEMENT ~25 ~27
23 46 CAST 8 ~28 <array>
47 ADD_ARRAY_ELEMENT ~25 ~28
24 48 CAST 8 ~29 <array>
49 ADD_ARRAY_ELEMENT ~25 ~29
25 50 CAST 8 ~30 <array>
51 ADD_ARRAY_ELEMENT ~25 ~30
26 52 CAST 8 ~31 <array>
53 ADD_ARRAY_ELEMENT ~25 ~31
19 54 ASSIGN !3, ~25
28 55 ASSIGN_OBJ 'blacklist_daynames'
56 OP_DATA <array>
29 57 ISSET_ISEMPTY_CV ~34 !3
58 BOOL_NOT ~35 ~34
59 > JMPZ ~35, ->71
30 60 > > FE_RESET_R $36 !3, ->70
61 > > FE_FETCH_R $36, !2, ->70
31 62 > FETCH_OBJ_R ~37 !2, 'isPayrollDay'
63 IS_EQUAL ~37, 'N'
64 > JMPZ ~38, ->69
32 65 > FETCH_OBJ_R ~41 !2, 'payrollDay'
66 FETCH_OBJ_W $39 'blacklist_daynames'
67 ASSIGN_DIM $39
68 OP_DATA ~41
30 69 > > JMP ->61
70 > FE_FREE $36
36 71 > > RETURN null
End of function __construct
Function getpaydate:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 47) Position 1 = 15, Position 2 = 25
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 1
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 1
2 jumps found. (Code = 47) Position 1 = 15, Position 2 = 25
Branch analysis from position: 15
Branch analysis from position: 25
Branch analysis from position: 25
filename: /in/UMUY7
function name: getPayDate
number of ops: 32
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
39 0 E > > JMP ->8
40 1 > FETCH_OBJ_R ~0 'date'
2 INIT_METHOD_CALL ~0, 'sub'
3 NEW $1 'DateInterval'
4 SEND_VAL_EX 'P1D'
5 DO_FCALL 0
6 SEND_VAR_NO_REF_EX $1
7 DO_FCALL 0
39 8 > INIT_FCALL 'in_array'
9 FETCH_OBJ_R ~4 'date'
10 SEND_VAL ~4
11 FETCH_OBJ_R ~5 'blacklist_holidates'
12 SEND_VAL ~5
13 DO_ICALL $6
14 > JMPNZ_EX ~7 $6, ->25
15 > INIT_FCALL 'in_array'
16 FETCH_OBJ_R ~8 'date'
17 INIT_METHOD_CALL ~8, 'format'
18 SEND_VAL_EX 'D'
19 DO_FCALL 0 $9
20 SEND_VAR $9
21 FETCH_OBJ_R ~10 'blacklist_daynames'
22 SEND_VAL ~10
23 DO_ICALL $11
24 BOOL ~7 $11
25 > > JMPNZ ~7, ->1
42 26 > FETCH_OBJ_R ~12 'date'
27 INIT_METHOD_CALL ~12, 'format'
28 SEND_VAL_EX 'd%2Fm%2FY'
29 DO_FCALL 0 $13
30 > RETURN $13
43 31* > RETURN null
End of function getpaydate
End of class PayDay.
Generated using Vulcan Logic Dumper, using php 8.0.0