3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = DateTime::createFromFormat('U', time()); //print $t->format('Y-m-d H:i:s'); print_r(strtotime(time()));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lijb0
function name:  (null)
number of ops:  16
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          1        SEND_VAL                                                 'U'
          2        INIT_FCALL                                               'time'
          3        DO_ICALL                                         $1      
          4        SEND_VAR                                                 $1
          5        DO_FCALL                                      0  $2      
          6        ASSIGN                                                   !0, $2
    7     7        INIT_FCALL                                               'print_r'
          8        INIT_FCALL                                               'strtotime'
          9        INIT_FCALL                                               'time'
         10        DO_ICALL                                         $4      
         11        SEND_VAR                                                 $4
         12        DO_ICALL                                         $5      
         13        SEND_VAR                                                 $5
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.46 ms | 1394 KiB | 19 Q