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) . "\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 7
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 7
Branch analysis from position: 19
Branch analysis from position: 7
filename:       /in/cbUhf
function name:  (null)
number of ops:  20
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                                                      ->17
    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        CONCAT                                           ~10     $9, '%0A'
         15        ECHO                                                     ~10
    6    16        PRE_INC                                                  !1
         17    >   IS_SMALLER_OR_EQUAL                                      !1, 15
         18      > JMPNZ                                                    ~12, ->7
   10    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.31 ms | 1395 KiB | 17 Q