3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('UTC'); echo date('H:i', mktime(0,257)), PHP_EOL; date_default_timezone_set('Asia/Tokyo'); echo date('H:i', mktime(0,257));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iNK7A
function name:  (null)
number of ops:  26
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                                               'date'
          4        SEND_VAL                                                 'H%3Ai'
          5        INIT_FCALL                                               'mktime'
          6        SEND_VAL                                                 0
          7        SEND_VAL                                                 257
          8        DO_ICALL                                         $1      
          9        SEND_VAR                                                 $1
         10        DO_ICALL                                         $2      
         11        ECHO                                                     $2
         12        ECHO                                                     '%0A'
    8    13        INIT_FCALL                                               'date_default_timezone_set'
         14        SEND_VAL                                                 'Asia%2FTokyo'
         15        DO_ICALL                                                 
   10    16        INIT_FCALL                                               'date'
         17        SEND_VAL                                                 'H%3Ai'
         18        INIT_FCALL                                               'mktime'
         19        SEND_VAL                                                 0
         20        SEND_VAL                                                 257
         21        DO_ICALL                                         $4      
         22        SEND_VAR                                                 $4
         23        DO_ICALL                                         $5      
         24        ECHO                                                     $5
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.99 ms | 1386 KiB | 19 Q