3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.63 ms | 1395 KiB | 17 Q