<<< Previous question <<< Question ID#0308.md >>> Next question >>>
What is the output of the following PHP script:
$a = 10;
$b = 20;
$c = 30;
echo ($a < 50 && $b > 100 || $c == 30) ? "a" : "b";
echo ($b < 50 XOR $c == 30) ? "c" : "d";
Enter the exact script output
- A) ad
- B) b
- C) ab
- D) a
Answer
Answer: A