<<< 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