Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/7l1vC function name: (null) number of ops: 15 compiled vars: !0 = $beginday, !1 = $lastday, !2 = $nr_work_days line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 3 0 E > INIT_FCALL 'date' 1 SEND_VAL 'Y-m-01' 2 DO_ICALL $3 3 ASSIGN !0, $3 4 4 INIT_FCALL 'date' 5 SEND_VAL 'Y-m-t' 6 DO_ICALL $5 7 ASSIGN !1, $5 6 8 INIT_FCALL_BY_NAME 'getWorkingDays' 9 SEND_VAR_EX !0 10 SEND_VAR_EX !1 11 DO_FCALL 0 $7 12 ASSIGN !2, $7 7 13 ECHO !2 29 14 > RETURN 1 Function getworkingdays: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 15 Branch analysis from position: 12 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 15 1 jumps found. (Code = 42) Position 1 = 29 Branch analysis from position: 29 2 jumps found. (Code = 44) Position 1 = 31, Position 2 = 18 Branch analysis from position: 31 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 18 2 jumps found. (Code = 43) Position 1 = 27, Position 2 = 28 Branch analysis from position: 27 2 jumps found. (Code = 44) Position 1 = 31, Position 2 = 18 Branch analysis from position: 31 Branch analysis from position: 18 Branch analysis from position: 28 filename: /in/7l1vC function name: getWorkingDays number of ops: 35 compiled vars: !0 = $startDate, !1 = $endDate, !2 = $begin, !3 = $end, !4 = $no_days, !5 = $weekends, !6 = $what_day, !7 = $working_days line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 9 0 E > RECV !0 1 RECV !1 10 2 INIT_FCALL 'strtotime' 3 SEND_VAR !0 4 DO_ICALL $8 5 ASSIGN !2, $8 11 6 INIT_FCALL 'strtotime' 7 SEND_VAR !1 8 DO_ICALL $10 9 ASSIGN !3, $10 12 10 IS_SMALLER !3, !2 11 > JMPZ ~12, ->15 13 12 > ECHO 'startdate+is+in+the+future%21+%3Cbr+%2F%3E' 14 13 > RETURN 0 14* JMP ->34 16 15 > ASSIGN !4, 0 17 16 ASSIGN !5, 0 18 17 > JMP ->29 19 18 > PRE_INC !4 20 19 INIT_FCALL 'date' 20 FETCH_CONSTANT ~16 '%E2%80%9CN%E2%80%9D' 21 SEND_VAL ~16 22 SEND_VAR !2 23 DO_ICALL $17 24 ASSIGN !6, $17 21 25 IS_SMALLER 5, !6 26 > JMPZ ~19, ->28 22 27 > PRE_INC !5 24 28 > ASSIGN_OP 1 !2, 86400 18 29 > IS_SMALLER_OR_EQUAL !2, !3 30 > JMPNZ ~22, ->18 26 31 > SUB ~23 !4, !5 32 ASSIGN !7, ~23 27 33 > RETURN !7 29 34* > RETURN null End of function getworkingdays
Generated using Vulcan Logic Dumper, using php 8.0.0