?php5_4 ?doutou.php?
<?php
$h = 18;
if($h < 23){
$h = 23;
}
echo "??",$h,"?<br />\n";
#int()????????????????
switch((int)($h/6)){
case 0;
echo "midnght";
break;
case 1;
echo "Good Morning";
break;
case 2;
echo "Hello";
break;
case 3;
echo "Good evening";
break;
}
?>