3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $weekday = date('w'); $date = date('m-d-Y'); $time = date('g:00 a', strtotime('now')); echo $weekday; echo "<br /><br /><br /><br /><br />" echo $date; echo "<br /><br /><br /><br /><br />" echo $time; ?>
Output for 5.4.0 - 5.4.11
Parse error: syntax error, unexpected 'echo' (T_ECHO), expecting ',' or ';' in /in/bQATp on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.21
Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in /in/bQATp on line 7
Process exited with code 255.