Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend Exam 200-710 Topic 1 Question 79 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 79
Topic #: 1
[All 200-710 Questions]

What will be the result of the following operation?

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

echo $a[2];

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Dannette
6 days ago
I think the answer is B) 3. The array_merge function will combine the two arrays, and the element at index 2 will be 3 from the first array.
upvoted 0 times
...
Ciara
7 days ago
I'm not sure, but I think it might be a parse error.
upvoted 0 times
...
Leota
10 days ago
I believe it will be false.
upvoted 0 times
...
Wilda
15 days ago
I think the result will be 3.
upvoted 0 times
...

Save Cancel