3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump((new DateTime())->format('d-m-Y-H:i:s:u')); var_dump(date('u'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0nauk
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        NEW                                              $0      'DateTime'
          2        DO_FCALL                                      0          
          3        INIT_METHOD_CALL                                         $0, 'format'
          4        SEND_VAL_EX                                              'd-m-Y-H%3Ai%3As%3Au'
          5        DO_FCALL                                      0  $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
    4     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'u'
         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:
150.94 ms | 1386 KiB | 17 Q