php best way to check multiple or conditions in if statement code example
Example 1: php multi condition if
if($var == "abc" || $var == "def" || ...)
{
echo "true";
}
Example 2: php if true 1 condition from multiple condition
$a = 50;
$b = 10;
> {
echo "Hello World";
}