multiple case-expressions for one case in switch ?
| From: | Rebecca | Date: | Mon, 16 Oct 2000 15:51:21 +0000 |
| Subject: | multiple case-expressions for one case in switch ? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20380@lists.php.net to get a copy of this message | ||
should this work?
switch $variable
{
case "possiblity1", "possiblity2", "possiblity5":
doThis($variable);
break;
case "possiblity3":
doTheOther($variable);
break;
case "possiblity4":
break;
}