3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.5 ms | 1395 KiB | 17 Q