Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/5esgg function name: (null) number of ops: 38 compiled vars: !0 = $str1, !1 = $str2, !2 = $tempdate1, !3 = $n, !4 = $mydate, !5 = $string line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 3 0 E > INIT_FCALL 'date_default_timezone_set' 1 SEND_VAL 'UTC' 2 DO_ICALL 47 3 ASSIGN !0, '1970-01-01' 48 4 ASSIGN !1, '2009-01-01' 50 5 ASSIGN !2, !0 51 6 ASSIGN !3, 0 53 7 INIT_FCALL 'datediff' 8 INIT_FCALL 'strtotime' 9 SEND_VAR !0 10 DO_ICALL $11 11 SEND_VAR $11 12 INIT_FCALL 'strtotime' 13 SEND_VAR !1 14 DO_ICALL $12 15 SEND_VAR $12 16 DO_FCALL 0 $13 17 ASSIGN !4, $13 54 18 FETCH_OBJ_R ~15 !4, 'days' 19 CONCAT ~16 '%28', ~15 20 CONCAT ~17 ~16, '%29+difference+' 21 FETCH_OBJ_R ~18 !4, 'y' 22 CONCAT ~19 ~17, ~18 23 CONCAT ~20 ~19, '+years%2C+' 24 FETCH_OBJ_R ~21 !4, 'm' 25 CONCAT ~22 ~20, ~21 26 CONCAT ~23 ~22, '+months%2C+' 27 FETCH_OBJ_R ~24 !4, 'd' 28 CONCAT ~25 ~23, ~24 29 CONCAT ~26 ~25, '+days' 30 ASSIGN !5, ~26 56 31 ECHO !5 58 32 ASSIGN_OP 1 !3, 321 59 33 CONCAT ~29 !0, '+%2B' 34 CONCAT ~30 ~29, !3 35 CONCAT ~31 ~30, '+sec' 36 ASSIGN !2, ~31 37 > RETURN 1 Function datediff: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6 Branch analysis from position: 4 1 jumps found. (Code = 42) Position 1 = 7 Branch analysis from position: 7 2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12 Branch analysis from position: 10 1 jumps found. (Code = 42) Position 1 = 13 Branch analysis from position: 13 1 jumps found. (Code = 42) Position 1 = 46 Branch analysis from position: 46 2 jumps found. (Code = 44) Position 1 = 47, Position 2 = 20 Branch analysis from position: 47 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 20 2 jumps found. (Code = 43) Position 1 = 28, Position 2 = 36 Branch analysis from position: 28 1 jumps found. (Code = 42) Position 1 = 46 Branch analysis from position: 46 Branch analysis from position: 36 2 jumps found. (Code = 43) Position 1 = 39, Position 2 = 45 Branch analysis from position: 39 1 jumps found. (Code = 42) Position 1 = 47 Branch analysis from position: 47 Branch analysis from position: 45 Branch analysis from position: 12 1 jumps found. (Code = 42) Position 1 = 46 Branch analysis from position: 46 Branch analysis from position: 6 2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12 Branch analysis from position: 10 Branch analysis from position: 12 filename: /in/5esgg function name: dateDiff number of ops: 92 compiled vars: !0 = $startdate, !1 = $enddate, !2 = $first, !3 = $second, !4 = $inbetween, !5 = $firsttemp, !6 = $months, !7 = $days, !8 = $years, !9 = $hours, !10 = $minutes, !11 = $seconds, !12 = $dateObj line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 5 0 E > RECV !0 1 RECV !1 6 2 IS_SMALLER !0, !1 3 > JMPZ ~13, ->6 4 > QM_ASSIGN ~14 !0 5 > JMP ->7 6 > QM_ASSIGN ~14 !1 7 > ASSIGN !2, ~14 7 8 IS_SMALLER !0, !1 9 > JMPZ ~16, ->12 10 > QM_ASSIGN ~17 !1 11 > JMP ->13 12 > QM_ASSIGN ~17 !0 13 > ASSIGN !3, ~17 8 14 SUB ~19 !3, !2 15 ASSIGN !4, ~19 9 16 ASSIGN !5, !2 11 17 ASSIGN !6, 0 12 18 ASSIGN !7, 0 14 19 > JMP ->46 15 20 > INIT_FCALL 'date' 21 SEND_VAL 't' 22 SEND_VAR !5 23 DO_ICALL $24 24 MUL ~25 $24, 86400 25 ADD ~26 !5, ~25 26 IS_SMALLER_OR_EQUAL ~26, !3 27 > JMPZ ~27, ->36 16 28 > ASSIGN_OP 1 !6, 1 17 29 INIT_FCALL 'date' 30 SEND_VAL 't' 31 SEND_VAR !5 32 DO_ICALL $29 33 MUL ~30 $29, 86400 34 ASSIGN_OP 1 !5, ~30 35 > JMP ->46 19 36 > SUB ~32 !3, !5 37 IS_SMALLER_OR_EQUAL 86400, ~32 38 > JMPZ ~33, ->45 20 39 > INIT_FCALL 'floor' 40 SUB ~34 !3, !5 41 DIV ~35 ~34, 86400 42 SEND_VAL ~35 43 DO_ICALL $36 44 ASSIGN !7, $36 23 45 > > JMP ->47 14 46 > > JMPNZ <true>, ->20 27 47 > INIT_FCALL 'floor' 48 DIV ~38 !6, 12 49 SEND_VAL ~38 50 DO_ICALL $39 51 ASSIGN !8, $39 28 52 MOD ~41 !6, 12 53 ASSIGN !6, ~41 30 54 INIT_FCALL 'floor' 55 DIV ~43 !4, 60 56 DIV ~44 ~43, 60 57 MOD ~45 ~44, 24 58 SEND_VAL ~45 59 DO_ICALL $46 60 ASSIGN !9, $46 31 61 INIT_FCALL 'floor' 62 DIV ~48 !4, 60 63 MOD ~49 ~48, 60 64 SEND_VAL ~49 65 DO_ICALL $50 66 ASSIGN !10, $50 32 67 MOD ~52 !4, 60 68 ASSIGN !11, ~52 34 69 NEW $54 'stdClass' 70 DO_FCALL 0 71 ASSIGN !12, $54 36 72 ASSIGN_OBJ !12, 'y' 73 OP_DATA !8 37 74 ASSIGN_OBJ !12, 'm' 75 OP_DATA !6 38 76 ASSIGN_OBJ !12, 'd' 77 OP_DATA !7 39 78 ASSIGN_OBJ !12, 'h' 79 OP_DATA !9 40 80 ASSIGN_OBJ !12, 'i' 81 OP_DATA !10 41 82 ASSIGN_OBJ !12, 's' 83 OP_DATA !11 42 84 INIT_FCALL 'floor' 85 DIV ~64 !4, 86400 86 SEND_VAL ~64 87 DO_ICALL $65 88 ASSIGN_OBJ !12, 'days' 89 OP_DATA $65 44 90 > RETURN !12 45 91* > RETURN null End of function datediff
Generated using Vulcan Logic Dumper, using php 8.0.0