3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set("America/Halifax"); $current_hour = idate('H'); echo $current_hour; echo $current_hour + 1; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2fJ0R
function name:  (null)
number of ops:  11
compiled vars:  !0 = $current_hour
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'America%2FHalifax'
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'idate'
          4        SEND_VAL                                                 'H'
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    4     7        ECHO                                                     !0
    5     8        ADD                                              ~4      !0, 1
          9        ECHO                                                     ~4
    6    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.83 ms | 1394 KiB | 17 Q