3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(serialize(new DateTime('now'), new DateTimeZone('UTC')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lgP1T
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'serialize'
          2        NEW                                              $0      'DateTime'
          3        SEND_VAL_EX                                              'now'
          4        DO_FCALL                                      0          
          5        SEND_VAR                                                 $0
          6        NEW                                              $2      'DateTimeZone'
          7        SEND_VAL_EX                                              'UTC'
          8        DO_FCALL                                      0          
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                         $4      
         11        SEND_VAR                                                 $4
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.98 ms | 1394 KiB | 17 Q