3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $d=date("H"); if($d<"12") { echo'good morning'; echo 'this is moning'; } elseif($d>"10") { echo "have a nice day"; } else{ echo "hello your time hasbeen stoped"; }
based on VjatU
Output for 4.3.0 - 7.1.0
good morningthis is moning