|| means OR, so == true OR (b = c) == true. This last one is strange because you should not use '=' in an if statement.
Working example:
$a = false;
$b = 19;
if ($a == true || $b == 19)
{
// continue here.
}
Although $ a is false, the if statement looks at the second part, and this statement is true. Thus, the statement may continue.
source
share