PHP - Operators
Find the error in this PHP code snippet:
$x = true;
$y = false;
if ($x || ! $y) {
echo 'True';
else {
echo 'False';
}
$x = true;
$y = false;
if ($x || ! $y) {
echo 'True';
else {
echo 'False';
}
{ but does not have a closing } before the else block starts.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions