3v4l.org

run code in 500+ PHP versions simultaneously
<?php $now = new \DateTime(null, new DateTimeZone('America/Denver')); echo $now->format("Y-m-d h:i:s");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/c1b1R
function name:  (null)
number of ops:  13
compiled vars:  !0 = $now
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   NEW                                                  $1      'DateTime'
          1        SEND_VAL_EX                                                  null
          2        NEW                                                  $2      'DateTimeZone'
          3        SEND_VAL_EX                                                  'America%2FDenver'
          4        DO_FCALL                                          0          
          5        SEND_VAR_NO_REF_EX                                           $2
          6        DO_FCALL                                          0          
          7        ASSIGN                                                       !0, $1
    4     8        INIT_METHOD_CALL                                             !0, 'format'
          9        SEND_VAL_EX                                                  'Y-m-d+h%3Ai%3As'
         10        DO_FCALL                                          0  $6      
         11        ECHO                                                         $6
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.66 ms | 3311 KiB | 13 Q