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\:i',strtotime($testDate)), "\n\n"; }
Output for 4.3.0 - 4.4.9, 5.0.3 - 7.1.0
now 1387636118 Saturday 15:28
Output for 5.0.0 - 5.0.2
now 1387580400 Saturday 00:00