3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(!function_exists('date_default_timezone_set')) { return; } date_default_timezone_set('Europe/Rome'); $d = strtotime('20:12:59 Jan 13, 2009 PST'); echo date('r', $d);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HQnYD
function name:  (null)
number of ops:  19
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'function_exists'
          1        SEND_VAL                                                 'date_default_timezone_set'
          2        DO_ICALL                                         $1      
          3        BOOL_NOT                                         ~2      $1
          4      > JMPZ                                                     ~2, ->6
    3     5    > > RETURN                                                   null
    5     6    >   INIT_FCALL                                               'date_default_timezone_set'
          7        SEND_VAL                                                 'Europe%2FRome'
          8        DO_ICALL                                                 
    7     9        INIT_FCALL                                               'strtotime'
         10        SEND_VAL                                                 '20%3A12%3A59+Jan+13%2C+2009+PST'
         11        DO_ICALL                                         $4      
         12        ASSIGN                                                   !0, $4
    9    13        INIT_FCALL                                               'date'
         14        SEND_VAL                                                 'r'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $6      
         17        ECHO                                                     $6
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.41 ms | 1395 KiB | 21 Q