3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date("c\n", 0); echo (new DateTime('@0'))->format("c\n");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hZqGK
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'c%0A'
          2        SEND_VAL                                                 0
          3        DO_ICALL                                         $0      
          4        ECHO                                                     $0
    3     5        NEW                                              $1      'DateTime'
          6        SEND_VAL_EX                                              '%400'
          7        DO_FCALL                                      0          
          8        INIT_METHOD_CALL                                         $1, 'format'
          9        SEND_VAL_EX                                              'c%0A'
         10        DO_FCALL                                      0  $3      
         11        ECHO                                                     $3
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.83 ms | 1394 KiB | 15 Q