3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "test" . "\n"; $time = strtotime('11/28/1975'); echo $time . "\n"; $newformat = date('Y-m-d',$time); echo $newformat . "\n"; echo number_format(microtime(true)*1000,0,'.',''); $today = getdate(); echo $today; $mydob = getdate("1975-11-28"); echo $mydob;

preferences:
34.01 ms | 402 KiB | 5 Q