<<< Previous question <<< Question ID#0309.md >>> Next question >>>
What is the output of the following PHP script:
$a = 0;
if ($a = 10) {
echo "a";
}
if ($a == 0) {
echo "b";
}
if ($a == "0") {
echo "c";
}
Enter the exact script output
- A) a
- B) b
- C) ab
- D) abc
Answer
Answer: A