3v4l.org

run code in 500+ PHP versions simultaneously
<?php $start = new DateTime('2013-01-31'); $end = new DateTime('2013-02-05'); while($start <= $end) { echo $start->format("m/d/Y"). PHP_EOL; $start->modify("+1 day"); }
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 = 9
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 9
Branch analysis from position: 19
Branch analysis from position: 9
filename:       /in/TUcnB
function name:  (null)
number of ops:  20
compiled vars:  !0 = $start, !1 = $end
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   NEW                                                  $2      'DateTime'
          1        SEND_VAL_EX                                                  '2013-01-31'
          2        DO_FCALL                                          0          
          3        ASSIGN                                                       !0, $2
    3     4        NEW                                                  $5      'DateTime'
          5        SEND_VAL_EX                                                  '2013-02-05'
          6        DO_FCALL                                          0          
          7        ASSIGN                                                       !1, $5
    4     8      > JMP                                                          ->17
    6     9    >   INIT_METHOD_CALL                                             !0, 'format'
         10        SEND_VAL_EX                                                  'm%2Fd%2FY'
         11        DO_FCALL                                          0  $8      
         12        CONCAT                                               ~9      $8, '%0A'
         13        ECHO                                                         ~9
    7    14        INIT_METHOD_CALL                                             !0, 'modify'
         15        SEND_VAL_EX                                                  '%2B1+day'
         16        DO_FCALL                                          0          
    4    17    >   IS_SMALLER_OR_EQUAL                                          !0, !1
         18      > JMPNZ                                                        ~11, ->9
    8    19    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
174.1 ms | 2747 KiB | 13 Q