Question: This is something that I haven't seen in the PHPdoc for `switch()` so I'm not sure if it's possible, but I'd like to have a case which is multi-conditional, such as:

```
switch($this) {
   case "yes" || "maybe":
      include "filename.php";
      break;
   ... 
}

```

Is this valid syntax/is this even possible with a `switch()` statement?

Answer: 
Usually you'd just use case fall-through.

```
switch($this) {
   case "yes":
   case "maybe":
      include "filename.php";
      break;
   ... 
}

```
> 
> Is this valid syntax/is this even possible with a switch() statement?
> 
> 
> 

No and no. The expression will be evaluated as `("yes" or "maybe")`, which will result in `true`. `switch` will then test against that result.

You want to use

```
case "yes":
case "maybe":
// some code
break;

```