3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('UTC'); var_dump( date("H", 85620).' uur' ); date_default_timezone_set('Europe/Amsterdam'); var_dump( date("H", 85620).' uur' );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jSOqX
function name:  (null)
number of ops:  23
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'UTC'
          2        DO_ICALL                                                 
    5     3        INIT_FCALL                                               'var_dump'
    6     4        INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'H'
          6        SEND_VAL                                                 85620
          7        DO_ICALL                                         $1      
          8        CONCAT                                           ~2      $1, '+uur'
          9        SEND_VAL                                                 ~2
    5    10        DO_ICALL                                                 
    9    11        INIT_FCALL                                               'date_default_timezone_set'
         12        SEND_VAL                                                 'Europe%2FAmsterdam'
         13        DO_ICALL                                                 
   11    14        INIT_FCALL                                               'var_dump'
   12    15        INIT_FCALL                                               'date'
         16        SEND_VAL                                                 'H'
         17        SEND_VAL                                                 85620
         18        DO_ICALL                                         $5      
         19        CONCAT                                           ~6      $5, '+uur'
         20        SEND_VAL                                                 ~6
   11    21        DO_ICALL                                                 
   13    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.65 ms | 1447 KiB | 16 Q