If I understood Alena here correctly, she says that
$var1 = true && false;
$var2 = true and false;
Will produce in var_dump($var1, $var2);
:
false
true
Alena also said that the above code is basically equal to:
$var1 = (true and false);
($var2 = true) and false;
I admit I failed to understand why the first example is euqal to the second. I mean, why writing the two rows, one above the other, will produce different outputs even though they seem equal in essence, thus should seemingly bring same outputs (false, false).