3v4l.org

run code in 300+ PHP versions simultaneously
<?php <!DOCTYPE html> <html> <body> <?php $t=date("H"); if ($t<"20") { echo "Have a good day!"; } ?> </body> </html>
Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.41, 5.5.24 - 5.5.25, 5.6.8 - 5.6.9
Parse error: syntax error, unexpected '<' in /in/qrFdj on line 2
Process exited with code 255.

preferences:
191.9 ms | 1387 KiB | 82 Q