3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testArray = array("now"); for($i = 0, $size = count($testArray); $i < $size; ++$i) { $testDate = $testArray[$i]; echo $testDate, "\n"; // echo strtotime($testDate), "\n"; echo date('l H\:iO',strtotime($testDate)), "\n\n"; }

preferences:
48.09 ms | 402 KiB | 5 Q