Is it possible to use three parameters in switch-case, like this:
switch($var1, $var2, $var3){ case true, false, false: echo \"Hello\"; b
Another option is to create a function that maps three parameters to an integer and use that in the switch statement.
function MapBool($var1, $var2, $var3){ // ... } switch(MapBool($var1, $var2, $var3)) { case 0: echo "Hello"; break; // ... }