3v4l.org

run code in 300+ PHP versions simultaneously
<?php $userTimeZone = new DateTimeZone('Europe/Berlin'); $datetime = '15 okt. 2014 16:24:29'; $userDateTime = new DateTime($datetime, $userTimeZone); var_dump($userDateTime);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RWOcc
function name:  (null)
number of ops:  14
compiled vars:  !0 = $userTimeZone, !1 = $datetime, !2 = $userDateTime
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $3      'DateTimeZone'
          1        SEND_VAL_EX                                              'Europe%2FBerlin'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $3
    4     4        ASSIGN                                                   !1, '15+okt.+2014+16%3A24%3A29'
    5     5        NEW                                              $7      'DateTime'
          6        SEND_VAR_EX                                              !1
          7        SEND_VAR_EX                                              !0
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !2, $7
    6    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.56 ms | 1394 KiB | 15 Q