<<< Previous question <<< Question ID#0563.md >>> Next question >>>
What is the output of the following code block?
$a = "The quick brown fox jumped over the lazy dog.";
$b = array_map("strtoupper", explode(" ", $a));
foreach ($b as $value) {
print "$value ";
}
- A) THE QUICK BROWN FOX JUMPED OVER THE LAZY DOG.
- B) A PHP Error
- C) Array Array Array Array Array Array Array Array Array
- D) THEQUICKBROWNFOXJUMPEDOVERTHELAZYDOG.
Answer
Answer: A