You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
280 B
18 lines
280 B
<?php
|
|
//声明一个枚举类型
|
|
enum COLSS
|
|
{
|
|
case Mon;
|
|
case Tues;
|
|
case Wed;
|
|
case Thurs;
|
|
case Fri;
|
|
case Sat;
|
|
case Sun;
|
|
}
|
|
|
|
function func(COLSS $days):void
|
|
{
|
|
echo "today".$days.PHP_EOL;
|
|
}
|
|
?>
|