Q33
What will be the output of the following PHP code?
A.
Array ( [0] => red [1] => green)
B.
Array ( [0] => blue [1] => yellow [2] => red [3] => green )
C.
Array ( [0] => red [1] => green [2] => blue [3] => yellow )
AnswerD.
Array ( [0] => blue [1] => yellow )
Answer: Option C
Solution
Answer: Option C
Solution:
The array_merge() function merges one or more arrays into one array.