3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (new \DateTime())->format('Y-m-d H:M:s'); mktime(h,i,s,date("m"),date("d"),date("Y"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8daG1
function name:  (null)
number of ops:  27
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%3AM%3As'
          4        DO_FCALL                                      0  $2      
          5        ECHO                                                     $2
    3     6        INIT_FCALL                                               'mktime'
          7        FETCH_CONSTANT                                   ~3      'h'
          8        SEND_VAL                                                 ~3
          9        FETCH_CONSTANT                                   ~4      'i'
         10        SEND_VAL                                                 ~4
         11        FETCH_CONSTANT                                   ~5      's'
         12        SEND_VAL                                                 ~5
         13        INIT_FCALL                                               'date'
         14        SEND_VAL                                                 'm'
         15        DO_ICALL                                         $6      
         16        SEND_VAR                                                 $6
         17        INIT_FCALL                                               'date'
         18        SEND_VAL                                                 'd'
         19        DO_ICALL                                         $7      
         20        SEND_VAR                                                 $7
         21        INIT_FCALL                                               'date'
         22        SEND_VAL                                                 'Y'
         23        DO_ICALL                                         $8      
         24        SEND_VAR                                                 $8
         25        DO_ICALL                                                 
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.58 ms | 1395 KiB | 17 Q