As the title, Is the code below, a good practice to check if one of the variables is false?
return $isAdmin * $isLogin * $isConfirmed;
Instead of using if statement that is shown below.
if (!$isAdmin | !$isLogin | !$isConfirmed) {
return false;
}
I'd like to know why if it's not.