Is it possible to use three parameters in switch-case, like this:
switch($var1, $var2, $var3){ case true, false, false: echo \"Hello\"; b
The syntax is not correct and I wouldn't recommend it, even if it was. But if you really want to use a construct like that, you can put your values into an array:
switch (array($var1, $var2, $var3)) { case array(true, false, false): echo "hello"; break; }