3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = DateTime::createFromFormat('Y-m-d H:i:s', '2012-07-13 01:00:00'); $end = DateTime::createFromFormat('Y-m-d H:i:s', '2012-07-13 01:30:00'); while($start < $end) { echo $start->format('H:i:s'); $start->modify('+10 minutes'); }
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 = 11
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 11
Branch analysis from position: 20
Branch analysis from position: 11
filename:       /in/UO7rL
function name:  (null)
number of ops:  21
compiled vars:  !0 = $start, !1 = $end
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          1        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          2        SEND_VAL                                                 '2012-07-13+01%3A00%3A00'
          3        DO_FCALL                                      0  $2      
          4        ASSIGN                                                   !0, $2
    4     5        INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          6        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          7        SEND_VAL                                                 '2012-07-13+01%3A30%3A00'
          8        DO_FCALL                                      0  $4      
          9        ASSIGN                                                   !1, $4
    5    10      > JMP                                                      ->18
    6    11    >   INIT_METHOD_CALL                                         !0, 'format'
         12        SEND_VAL_EX                                              'H%3Ai%3As'
         13        DO_FCALL                                      0  $6      
         14        ECHO                                                     $6
    7    15        INIT_METHOD_CALL                                         !0, 'modify'
         16        SEND_VAL_EX                                              '%2B10+minutes'
         17        DO_FCALL                                      0          
    5    18    >   IS_SMALLER                                               !0, !1
         19      > JMPNZ                                                    ~8, ->11
    8    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.91 ms | 1385 KiB | 13 Q