Can anyone tell me why assignments have a higher precedence than the logical operators: xor, and, and or in PHP?
Given:
$a = true xor true;
What are the circumstances where we should expect $a to evaluate to true?
Can anyone tell me why assignments have a higher precedence than the logical operators: xor, and, and or in PHP?
Given:
$a = true xor true;
What are the circumstances where we should expect $a to evaluate to true?