3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $seconds = 247; $m = $seconds / 60; $newDate = strval($m); $formattedTime = date('h:i:s', $newDate); echo $time; echo " \n"; echo $formattedTime;
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: time in /in/ja8SG on line 6 01:00:04
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: time in /in/ja8SG on line 6 01:00:04