Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/Acq3N function name: (null) number of ops: 26 compiled vars: !0 = $calculator line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 51 0 E > NEW $1 'BusinessDayCalculator' 52 1 NEW $2 'DateTime' 2 DO_FCALL 0 3 INIT_ARRAY ~4 $2 4 SEND_VAL_EX ~4 53 5 NEW $5 'DateTime' 6 SEND_VAL_EX '2014-06-01' 7 DO_FCALL 0 8 INIT_ARRAY ~7 $5 9 NEW $8 'DateTime' 10 SEND_VAL_EX '2014-06-02' 11 DO_FCALL 0 12 ADD_ARRAY_ELEMENT ~7 $8 13 SEND_VAL_EX ~7 54 14 SEND_VAL_EX <array> 15 DO_FCALL 0 51 16 ASSIGN !0, $1 57 17 INIT_METHOD_CALL !0, 'addBusinessDays' 18 SEND_VAL_EX 3 19 DO_FCALL 0 59 20 INIT_FCALL 'var_dump' 21 INIT_METHOD_CALL !0, 'getDate' 22 DO_FCALL 0 $13 23 SEND_VAR $13 24 DO_ICALL 25 > RETURN 1 Class BusinessDaysCalculator: Function __construct: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/Acq3N function name: __construct number of ops: 10 compiled vars: !0 = $startDate, !1 = $holidays, !2 = $nonBusinessDays line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 18 0 E > RECV !0 1 RECV !1 2 RECV !2 19 3 ASSIGN_OBJ 'date' 4 OP_DATA !0 20 5 ASSIGN_OBJ 'holidays' 6 OP_DATA !1 21 7 ASSIGN_OBJ 'nonBusinessDays' 8 OP_DATA !2 22 9 > RETURN null End of function __construct Function addbusinessdays: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 42) Position 1 = 11 Branch analysis from position: 11 2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3 Branch analysis from position: 13 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 3 2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11 Branch analysis from position: 10 2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3 Branch analysis from position: 13 Branch analysis from position: 3 Branch analysis from position: 11 filename: /in/Acq3N function name: addBusinessDays number of ops: 14 compiled vars: !0 = $howManyDays, !1 = $i, !2 = $date line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 24 0 E > RECV !0 25 1 ASSIGN !1, 0 26 2 > JMP ->11 27 3 > INIT_METHOD_CALL !2, 'modify' 4 SEND_VAL_EX '%2B1+day' 5 DO_FCALL 0 28 6 INIT_METHOD_CALL 'isBusinessDay' 7 SEND_VAR_EX !2 8 DO_FCALL 0 $5 9 > JMPZ $5, ->11 29 10 > PRE_INC !1 26 11 > IS_SMALLER !1, !0 12 > JMPNZ ~7, ->3 32 13 > > RETURN null End of function addbusinessdays Function getdate: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/Acq3N function name: getDate number of ops: 3 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 35 0 E > FETCH_OBJ_R ~0 'date' 1 > RETURN ~0 36 2* > RETURN null End of function getdate Function isbusinessday: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 12 Branch analysis from position: 11 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 12 2 jumps found. (Code = 77) Position 1 = 14, Position 2 = 26 Branch analysis from position: 14 2 jumps found. (Code = 78) Position 1 = 15, Position 2 = 26 Branch analysis from position: 15 2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 25 Branch analysis from position: 23 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 25 1 jumps found. (Code = 42) Position 1 = 14 Branch analysis from position: 14 Branch analysis from position: 26 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 26 filename: /in/Acq3N function name: isBusinessDay number of ops: 29 compiled vars: !0 = $date, !1 = $day line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 38 0 E > RECV !0 39 1 INIT_FCALL 'in_array' 2 INIT_METHOD_CALL !0, 'format' 3 SEND_VAL_EX 'N' 4 DO_FCALL 0 $2 5 CAST 4 ~3 $2 6 SEND_VAL ~3 7 FETCH_OBJ_R ~4 'nonBusinessDays' 8 SEND_VAL ~4 9 DO_ICALL $5 10 > JMPZ $5, ->12 40 11 > > RETURN <false> 42 12 > FETCH_OBJ_R ~6 'nonBusinessDays' 13 > FE_RESET_R $7 ~6, ->26 14 > > FE_FETCH_R $7, !1, ->26 43 15 > INIT_METHOD_CALL !0, 'format' 16 SEND_VAL_EX 'Y-m-d' 17 DO_FCALL 0 $8 18 INIT_METHOD_CALL !1, 'format' 19 SEND_VAL_EX 'Y-m-d' 20 DO_FCALL 0 $9 21 IS_EQUAL $8, $9 22 > JMPZ ~10, ->25 44 23 > FE_FREE $7 24 > RETURN <false> 42 25 > > JMP ->14 26 > FE_FREE $7 47 27 > RETURN <true> 48 28* > RETURN null End of function isbusinessday End of class BusinessDaysCalculator.
Generated using Vulcan Logic Dumper, using php 8.0.0