<<< Previous question <<< Question ID#0321.md >>> Next question >>>
What is the output of the following PHP script?
$a = array('z', 'x');
$b = array('y', 'w');
$c = array('a' => 1, 'b' => 2);
$d = array('c' => 3, 'd' => 4);
$e = $a + $b;
$f = $c + $d;
foreach ($e as $value) {
echo $value;
}
foreach ($f as $value) {
echo $value;
}
Enter the exact script output
- A) zx1234
- B) 1234
- C) null
- D) 12zx
Answer
Answer: A