3v4l.org

run code in 300+ PHP versions simultaneously
<?php $it = strtotime('2013-10-15 12:00:00'); 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 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 6
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 6
Branch analysis from position: 18
Branch analysis from position: 6
filename:       /in/hfokW
function name:  (null)
number of ops:  19
compiled vars:  !0 = $it, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '2013-10-15+12%3A00%3A00'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    7     4        ASSIGN                                                   !1, 0
          5      > JMP                                                      ->16
    9     6    >   INIT_FCALL                                               'date'
          7        SEND_VAL                                                 'Y-m-d+h%3Ai%3As'
          8        MUL                                              ~5      !1, 24
          9        MUL                                              ~6      ~5, 3600
         10        ADD                                              ~7      !0, ~6
         11        SEND_VAL                                                 ~7
         12        DO_ICALL                                         $8      
         13        CONCAT                                           ~9      $8, '%0A'
         14        ECHO                                                     ~9
    7    15        PRE_INC                                                  !1
         16    >   IS_SMALLER_OR_EQUAL                                      !1, 15
         17      > JMPNZ                                                    ~11, ->6
   11    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
293.63 ms | 1399 KiB | 18 Q