3v4l.org

run code in 300+ PHP versions simultaneously
<?php for( $i=1; $i<15; $i++ ) { $date = strtotime( '+' . $i . ' day' ); echo date( 'l, M j Y', $date ) . PHP_EOL; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 2
Branch analysis from position: 17
Branch analysis from position: 2
filename:       /in/DvHAW
function name:  (null)
number of ops:  18
compiled vars:  !0 = $i, !1 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
          1      > JMP                                                      ->15
    4     2    >   INIT_FCALL                                               'strtotime'
          3        CONCAT                                           ~3      '%2B', !0
          4        CONCAT                                           ~4      ~3, '+day'
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !1, $5
    5     8        INIT_FCALL                                               'date'
          9        SEND_VAL                                                 'l%2C+M+j+Y'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $7      
         12        CONCAT                                           ~8      $7, '%0A'
         13        ECHO                                                     ~8
    3    14        PRE_INC                                                  !0
         15    >   IS_SMALLER                                               !0, 15
         16      > JMPNZ                                                    ~10, ->2
    6    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.15 ms | 1395 KiB | 17 Q