3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 1; $i < 10; $i++) { echo date('c',strtotime("+$i days")) . "<br/>\n"; }
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/ivafd
function name:  (null)
number of ops:  18
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
          1      > JMP                                                      ->15
    6     2    >   INIT_FCALL                                               'date'
          3        SEND_VAL                                                 'c'
          4        INIT_FCALL                                               'strtotime'
          5        ROPE_INIT                                     3  ~3      '%2B'
          6        ROPE_ADD                                      1  ~3      ~3, !0
          7        ROPE_END                                      2  ~2      ~3, '+days'
          8        SEND_VAL                                                 ~2
          9        DO_ICALL                                         $5      
         10        SEND_VAR                                                 $5
         11        DO_ICALL                                         $6      
         12        CONCAT                                           ~7      $6, '%3Cbr%2F%3E%0A'
         13        ECHO                                                     ~7
    3    14        PRE_INC                                                  !0
         15    >   IS_SMALLER                                               !0, 10
         16      > JMPNZ                                                    ~9, ->2
    8    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
195.76 ms | 1399 KiB | 17 Q