3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date_format(new \Datetime("30-11--0001"), 'Y-m-d');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6JbNU
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_format'
          1        NEW                                              $0      'Datetime'
          2        SEND_VAL_EX                                              '30-11--0001'
          3        DO_FCALL                                      0          
          4        SEND_VAR                                                 $0
          5        SEND_VAL                                                 'Y-m-d'
          6        DO_ICALL                                         $2      
          7        ECHO                                                     $2
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.23 ms | 1394 KiB | 15 Q