3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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"; }
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
now Saturday 15:31+0100
Output for 5.0.0 - 5.0.2
now Saturday 00:00+0100