3v4l.org

run code in 300+ PHP versions simultaneously
<?php $newformat = date('Y-m-d',"1975-11-28"); echo $newformat . "\n";

preferences:
34.61 ms | 402 KiB | 5 Q