3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.13 ms | 1394 KiB | 19 Q