3v4l.org

run code in 500+ PHP versions simultaneously
<?php print_r(new class('2000-1-1') extends DateTime {});
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Bj2qg
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'print_r'
          1        DECLARE_ANON_CLASS                                   <true>  'datetime'
          2        NEW                                                  $1      $0
          3        SEND_VAL_EX                                                  '2000-1-1'
          4        DO_FCALL                                          0          
          5        SEND_VAR                                                     $1
          6        DO_ICALL                                                     
          7      > RETURN                                                       1

Class DateTime@anonymous: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
127.53 ms | 477 KiB | 8 Q