3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (new DateTime) ->setTimeStamp(microtime(true)) ->format('Y:m:d H:i:s u');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DtvqI
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   NEW                                              $0      'DateTime'
          1        DO_FCALL                                      0          
    5     2        INIT_METHOD_CALL                                         $0, 'setTimeStamp'
          3        INIT_FCALL                                               'microtime'
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                         $2      
          6        SEND_VAR_NO_REF_EX                                       $2
          7        DO_FCALL                                      0  $3      
    6     8        INIT_METHOD_CALL                                         $3, 'format'
          9        SEND_VAL_EX                                              'Y%3Am%3Ad+H%3Ai%3As+u'
         10        DO_FCALL                                      0  $4      
         11        ECHO                                                     $4
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.3 ms | 1394 KiB | 15 Q