3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo DateTime::createFromFormat('Y-m-d H:i:s', 'now', new DateTimeZone('Etc/UTC'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/B8vjh
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          1        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          2        SEND_VAL                                                 'now'
          3        NEW                                              $0      'DateTimeZone'
          4        SEND_VAL_EX                                              'Etc%2FUTC'
          5        DO_FCALL                                      0          
          6        SEND_VAR                                                 $0
          7        DO_FCALL                                      0  $2      
          8        ECHO                                                     $2
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
262.04 ms | 1392 KiB | 14 Q