3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $totalTime = 5409; $numberOfSecondsInAMinute = 60; $numberOfMinutesInAnHour = $numberOfSecondsInAMinute * 60; $numberOfHoursInADay = $numberOfMinutesInAnHour * 24; $timeNote = "\nTotal Time: "; echo $timeNote; $timeblah = gmdate("H:i:s", $totalTime); var_dump $timeblah
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected '$timeblah' (T_VARIABLE) in /in/6kkNQ on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_VARIABLE in /in/6kkNQ on line 10
Process exited with code 255.