3v4l.org

run code in 300+ PHP versions simultaneously
<?php $it = strtotime('2013-10-08') + 7 * 24 * 3600; die(date("Y-m-d H:i:s", $it)); for($i=0; $i<=15; $i++) { echo date("Y-m-d h:i:s", $it + $i * 24 * 3600) . "\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/BcECb
function name:  (null)
number of ops:  25
compiled vars:  !0 = $it, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '2013-10-08'
          2        DO_ICALL                                         $2      
          3        ADD                                              ~3      $2, 604800
          4        ASSIGN                                                   !0, ~3
    3     5        INIT_FCALL                                               'date'
          6        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $5      
          9      > EXIT                                                     $5
    6    10*       ASSIGN                                                   !1, 0
         11*       JMP                                                      ->22
    8    12*       INIT_FCALL                                               'date'
         13*       SEND_VAL                                                 'Y-m-d+h%3Ai%3As'
         14*       MUL                                              ~7      !1, 24
         15*       MUL                                              ~8      ~7, 3600
         16*       ADD                                              ~9      !0, ~8
         17*       SEND_VAL                                                 ~9
         18*       DO_ICALL                                         $10     
         19*       CONCAT                                           ~11     $10, '%0A'
         20*       ECHO                                                     ~11
    6    21*       PRE_INC                                                  !1
         22*       IS_SMALLER_OR_EQUAL                                      !1, 15
         23*       JMPNZ                                                    ~13, ->12
   10    24*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178 ms | 1399 KiB | 17 Q