New Year Sale ! 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 4 Question 81 Discussion

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

PHP's array functions such as array_values() can be used on an object if the object...

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Matthew
17 days ago
I think both A) and B) could be correct, depending on the specific use case.
upvoted 0 times
...
Elise
20 days ago
I disagree, I believe the correct answer is A) implements Traversable.
upvoted 0 times
...
Salome
24 days ago
I think the answer is B) is an instance of ArrayObject.
upvoted 0 times
...
Tammy
27 days ago
D? No way, that can't be right. Gotta be one of the interface options. Time to brush up on my PHP object interfaces.
upvoted 0 times
Devorah
2 days ago
A) implements Traversable
upvoted 0 times
...
...
Casey
1 months ago
Haha, I bet the correct answer is hidden in the question itself. PHP loves its array tricks!
upvoted 0 times
...
Willodean
1 months ago
I agree, C seems like the correct answer. Traversable and ArrayObject are different interfaces.
upvoted 0 times
...
Heidy
1 months ago
Hmm, I think it's C. Objects implementing ArrayAccess should work with array functions, right?
upvoted 0 times
Alyce
4 days ago
I think it's B. ArrayObject instances can be used with array functions.
upvoted 0 times
...
Whitney
6 days ago
I think it's D. None of the above options seem to be the correct one.
upvoted 0 times
...
Jamika
7 days ago
I'm not sure, but I think it's C as well. Objects implementing ArrayAccess seem like they would work with array functions.
upvoted 0 times
...
Alethea
19 days ago
I believe it's A. Objects that implement Traversable should also work with array functions.
upvoted 0 times
...
Earleen
21 days ago
I'm not sure, but I think it's C. Objects implementing ArrayAccess should work with array functions.
upvoted 0 times
...
Buddy
21 days ago
I think it's B. ArrayObject instances can be used with array functions too.
upvoted 0 times
...
Lashon
27 days ago
I believe it's A. Objects that implement Traversable should work with array functions.
upvoted 0 times
...
Sue
1 months ago
I think it's B. ArrayObject instances can be used with array functions.
upvoted 0 times
...
...

Save Cancel