Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/W0nSb function name: (null) number of ops: 39 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 25 0 E > INIT_FCALL 'date' 1 SEND_VAL 'Y-m-d' 2 INIT_FCALL 'add_weeks' 3 SEND_VAL 1 4 DO_FCALL 0 $0 5 SEND_VAR $0 6 DO_ICALL $1 7 CONCAT ~2 $1, '%0A' 8 ECHO ~2 26 9 INIT_FCALL 'date' 10 SEND_VAL 'Y-m-d' 11 INIT_FCALL 'add_weeks' 12 SEND_VAL 2 13 DO_FCALL 0 $3 14 SEND_VAR $3 15 DO_ICALL $4 16 CONCAT ~5 $4, '%0A' 17 ECHO ~5 27 18 INIT_FCALL 'date' 19 SEND_VAL 'Y-m-d' 20 INIT_FCALL 'add_weeks' 21 SEND_VAL 1 22 SEND_VAL '2012-06-18' 23 DO_FCALL 0 $6 24 SEND_VAR $6 25 DO_ICALL $7 26 CONCAT ~8 $7, '%0A' 27 ECHO ~8 28 28 INIT_FCALL 'date' 29 SEND_VAL 'Y-m-d' 30 INIT_FCALL 'add_weeks' 31 SEND_VAL 2 32 SEND_VAL '2012-06-18' 33 DO_FCALL 0 $9 34 SEND_VAR $9 35 DO_ICALL $10 36 CONCAT ~11 $10, '%0A' 37 ECHO ~11 38 > RETURN 1 Function add_weeks: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 8 Branch analysis from position: 5 1 jumps found. (Code = 42) Position 1 = 12 Branch analysis from position: 12 2 jumps found. (Code = 43) Position 1 = 50, Position 2 = 56 Branch analysis from position: 50 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 56 Branch analysis from position: 8 2 jumps found. (Code = 43) Position 1 = 50, Position 2 = 56 Branch analysis from position: 50 Branch analysis from position: 56 filename: /in/W0nSb function name: add_weeks number of ops: 58 compiled vars: !0 = $weeks, !1 = $base, !2 = $result line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 3 0 E > RECV_INIT !0 1 1 RECV_INIT !1 'now' 6 2 TYPE_CHECK 64 ~3 !1 3 BOOL_NOT ~4 ~3 4 > JMPZ ~4, ->8 7 5 > CAST 4 ~5 !1 6 ASSIGN !1, ~5 7 > JMP ->12 9 8 > INIT_FCALL 'strtotime' 9 SEND_VAR !1 10 DO_ICALL $7 11 ASSIGN !1, $7 11 12 > INIT_FCALL 'var_dump' 13 INIT_FCALL 'date' 14 SEND_VAL 'Y-m-d' 15 SEND_VAR !1 16 DO_ICALL $9 17 SEND_VAR $9 18 DO_ICALL 14 19 INIT_FCALL 'strtotime' 20 INIT_FCALL 'sprintf' 21 ROPE_INIT 5 ~12 '%40' 22 ROPE_ADD 1 ~12 ~12, !1 23 ROPE_ADD 2 ~12 ~12, '+%2B' 24 ROPE_ADD 3 ~12 ~12, !0 25 ROPE_END 4 ~11 ~12, '+weeks' 26 SEND_VAL ~11 27 SEND_VAR !1 28 SEND_VAR !0 29 DO_ICALL $15 30 SEND_VAR $15 31 DO_ICALL $16 32 ASSIGN !2, $16 15 33 INIT_FCALL 'var_dump' 34 INIT_FCALL 'date' 35 SEND_VAL 'Y-m-d' 36 SEND_VAR !2 37 DO_ICALL $18 38 SEND_VAR $18 39 DO_ICALL 18 40 INIT_FCALL 'date' 41 SEND_VAL 'n' 42 SEND_VAR !1 43 DO_ICALL $20 44 INIT_FCALL 'date' 45 SEND_VAL 'n' 46 SEND_VAR !2 47 DO_ICALL $21 48 IS_NOT_IDENTICAL $20, $21 49 > JMPZ ~22, ->56 19 50 > INIT_FCALL 'strtotime' 51 NOP 52 FAST_CONCAT ~23 'last+day+of+this+month+%40', !1 53 SEND_VAL ~23 54 DO_ICALL $24 55 ASSIGN !2, $24 22 56 > > RETURN !2 23 57* > RETURN null End of function add_weeks
Generated using Vulcan Logic Dumper, using php 8.0.0