3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<!DOCTYPE html> <html> <body> <?php $t=date("H"); if ($t<"20") { echo "Have a good day!"; } ?> </body> </html>
Output for 4.3.0 - 7.2.0
<!DOCTYPE html> <html> <body> Have a good day! </body> </html>