What will be the result of the following operation?

What will be the result of the following operation?

$a= array_merge([l,2,3] + (4=>1,5,6]);

echo $a[2];
A . 4
B . 3
C . 2
D . false
E: Parse error

Answer: B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments