3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i <= 24; $i++) { $oTs = new DateTime("2016-11-02 " . $i . ":00:00", new DateTimeZone("UTC")); echo $oTs->format("Gi") . "\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 = 2
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 2
Branch analysis from position: 20
Branch analysis from position: 2
filename:       /in/UOaO1
function name:  (null)
number of ops:  21
compiled vars:  !0 = $i, !1 = $oTs
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->18
    4     2    >   NEW                                              $3      'DateTime'
          3        CONCAT                                           ~4      '2016-11-02+', !0
          4        CONCAT                                           ~5      ~4, '%3A00%3A00'
          5        SEND_VAL_EX                                              ~5
          6        NEW                                              $6      'DateTimeZone'
          7        SEND_VAL_EX                                              'UTC'
          8        DO_FCALL                                      0          
          9        SEND_VAR_NO_REF_EX                                       $6
         10        DO_FCALL                                      0          
         11        ASSIGN                                                   !1, $3
    5    12        INIT_METHOD_CALL                                         !1, 'format'
         13        SEND_VAL_EX                                              'Gi'
         14        DO_FCALL                                      0  $10     
         15        CONCAT                                           ~11     $10, '%0A'
         16        ECHO                                                     ~11
    3    17        PRE_INC                                                  !0
         18    >   IS_SMALLER_OR_EQUAL                                      !0, 24
         19      > JMPNZ                                                    ~13, ->2
    6    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.37 ms | 1393 KiB | 13 Q