<<< Previous question <<< Question ID#0362.md >>> Next question >>>
What is the output of the following PHP script.
if ("") {
echo "a";
}
if (1) {
echo "b";
} else if (-2) {
echo "c";
}
if ("foo") {
echo "d";
}
if (array(12)) {
echo "e";
}
if (array()) {
echo "f";
}
if ("false") {
echo "g";
}
- A) bdeg
- B) abc
- C) def
- D) ade
Answer
Answer: A