3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d=date("H"); if($d<"5") { echo'good morning'; echo 'this is moning'; } elseif($d<"12") { echo "have a nice day"; } else{ echo "hello your time hasbeen stoped"; }

preferences:
37.45 ms | 402 KiB | 5 Q