不能运行????
<?php
$num = rand(1,8);//获取1至50的随机数
$info = "";//提示信息
switch($num){
case 1: $info = "剪刀";break;
case 2: $info = "石头";break;
case 3: $info = "布";break;
default:$info = "认输";
}
echo $info; //输出是否中奖
echo "</br>"
$aum=rand(1,10);
$cai="";
switch($aum){
case 1:$cai="石头";break;
case 2:$cai="剪刀";break;
case 3:$cai="布";break;
default:$cai="我输了";}
echo $cai;
?>