3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date_format(new \Datetime("30-11--0001"), 'Y-m-d');

preferences:
43.61 ms | 402 KiB | 5 Q