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/98g7k
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        NEW                                              $1      'DateTimeZone'
          5        SEND_VAL_EX                                              'UTC'
          6        DO_FCALL                                      0          
          7        SEND_VAR_NO_REF_EX                                       $1
          8        DO_FCALL                                      0          
          9        SEND_VAR                                                 $0
         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:
170.97 ms | 1394 KiB | 17 Q