3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.92 ms | 1393 KiB | 13 Q