Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/LvqpY 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 = 28 Branch analysis from position: 28 2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 18 Branch analysis from position: 30 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 18 2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 27 Branch analysis from position: 25 2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 18 Branch analysis from position: 30 Branch analysis from position: 18 Branch analysis from position: 27 filename: /in/LvqpY function name: getWorkingDays number of ops: 36 compiled vars: !0 = $startDate, !1 = $endDate, !2 = $begin, !3 = $end, !4 = $working_days, !5 = $total_days, !6 = $what_day, !7 = $testString 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%3E' 14 13 > RETURN 0 14* JMP ->35 16 15 > ASSIGN !4, 0 17 16 ASSIGN !5, 0 18 17 > JMP ->28 19 18 > INIT_FCALL 'date' 19 SEND_VAL 'N' 20 SEND_VAR !2 21 DO_ICALL $15 22 ASSIGN !6, $15 20 23 IS_SMALLER_OR_EQUAL !6, 5 24 > JMPZ ~17, ->27 21 25 > PRE_INC !4 22 26 PRE_INC !5 24 27 > ASSIGN_OP 1 !2, 86400 18 28 > IS_SMALLER_OR_EQUAL !2, !3 29 > JMPNZ ~21, ->18 26 30 > CONCAT ~22 'working+days%3A+', !4 31 CONCAT ~23 ~22, 'total+days%3A+' 32 CONCAT ~24 ~23, !5 33 ASSIGN !7, ~24 27 34 > RETURN !7 29 35* > RETURN null End of function getworkingdays
Generated using Vulcan Logic Dumper, using php 8.0.0