In this example:
$x = $b && $c;
$y = $b and $c;
Why $x = true and $y = false ? are && not equal and ?
In this example:
$x = $b && $c;
$y = $b and $c;
Why $x = true and $y = false ? are && not equal and ?
PHP: The first code will set $x to the result of the comparison $b with $c, both have to be true, The second code will set $y like $b and thant , compare the success of this with the value of $c