3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $time = 247; $time = $time*3600; $newDate = strtotime(247*3600); $formattedTime = date('h:i:s', $newDate); echo $time; echo " \n"; echo $formattedTime;
Output for 5.1.0 - 7.1.0
889200 01:00:00
Output for 4.3.0 - 5.0.5
889200 12:00:00