3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (new \DateTime())->format('Y-m-d H:i:s'); echo date("Y/m/d H:i:s"). substr((string)microtime(), 1, 6);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2ZCo4
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $0      'DateTime'
          1        DO_FCALL                                      0          
          2        INIT_METHOD_CALL                                         $0, 'format'
          3        SEND_VAL_EX                                              'Y-m-d+H%3Ai%3As'
          4        DO_FCALL                                      0  $2      
          5        ECHO                                                     $2
    3     6        INIT_FCALL                                               'date'
          7        SEND_VAL                                                 'Y%2Fm%2Fd+H%3Ai%3As'
          8        DO_ICALL                                         $3      
          9        INIT_FCALL                                               'substr'
         10        INIT_FCALL                                               'microtime'
         11        DO_ICALL                                         $4      
         12        CAST                                          6  ~5      $4
         13        SEND_VAL                                                 ~5
         14        SEND_VAL                                                 1
         15        SEND_VAL                                                 6
         16        DO_ICALL                                         $6      
         17        CONCAT                                           ~7      $3, $6
         18        ECHO                                                     ~7
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.06 ms | 1386 KiB | 19 Q