3v4l.org

run code in 300+ PHP versions simultaneously
<?php $it = strtotime('2013-10-08') + 7 * 24 * 3600; for($i=0; $i<=15; $i++) { echo date("Y-m-d h:i:s", $it + $i * 24 * 3600); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 7
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 7
Branch analysis from position: 18
Branch analysis from position: 7
filename:       /in/BeTTV
function name:  (null)
number of ops:  19
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
    6     5        ASSIGN                                                   !1, 0
          6      > JMP                                                      ->16
    8     7    >   INIT_FCALL                                               'date'
          8        SEND_VAL                                                 'Y-m-d+h%3Ai%3As'
          9        MUL                                              ~6      !1, 24
         10        MUL                                              ~7      ~6, 3600
         11        ADD                                              ~8      !0, ~7
         12        SEND_VAL                                                 ~8
         13        DO_ICALL                                         $9      
         14        ECHO                                                     $9
    6    15        PRE_INC                                                  !1
         16    >   IS_SMALLER_OR_EQUAL                                      !1, 15
         17      > JMPNZ                                                    ~11, ->7
   10    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.87 ms | 1395 KiB | 17 Q