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

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

In order to create an object storage where each object would be stored only once, you may use which of the following? (Choose 2)

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Terrilyn
10 days ago
SplString? Ah, I see they're going for the 'split' object storage approach. Very punny, exam writers, very punny.
upvoted 0 times
...
Meaghan
12 days ago
Wait, spl_same_object? I'm pretty sure that just tells me if two variables refer to the same object, not how to store objects uniquely. Gotta be B and D, right?
upvoted 0 times
...
Claribel
15 days ago
Aha! I've got it. B and D are the winners. SplObjectStorage and spl_object_hash are the tools we need to create that unique object storage. I'm feeling confident about this one.
upvoted 0 times
...
Wayne
27 days ago
Haha, SplString? Really? That's like trying to store a car in a shoebox. Definitely not the right choice here.
upvoted 0 times
...
Sommer
29 days ago
Hmm, I'm not too sure about this one. Does SplFixedArray really store objects uniquely? I'll have to do some more research.
upvoted 0 times
...
Letha
2 months ago
I think options B and D are the way to go. SplObjectStorage and spl_object_hash sound like the perfect tools for this task.
upvoted 0 times
Leonard
19 days ago
Yes, those two options would definitely help in creating a unique object storage.
upvoted 0 times
...
Delsie
26 days ago
I'm not sure about SplString, but SplObjectStorage seems like a good option.
upvoted 0 times
...
Myra
1 months ago
I agree, SplObjectStorage and spl_object_hash are the best choices for this.
upvoted 0 times
...
Raina
1 months ago
I would go with SplObjectStorage and spl_same_object for sure.
upvoted 0 times
...
Shayne
1 months ago
I think SplFixedArray could also work for this task.
upvoted 0 times
...
Pete
1 months ago
I agree, SplObjectStorage and spl_object_hash are the best choices.
upvoted 0 times
...
...
Anastacia
2 months ago
I'm not sure about SplObjectStorage, but I think spl_object_hash is definitely the right choice. It generates a hash value based on the object's properties, ensuring uniqueness.
upvoted 0 times
...
Geraldo
2 months ago
I agree with Veronika. SplObjectStorage is specifically designed for storing objects only once, and spl_object_hash can be used to get a unique identifier for an object.
upvoted 0 times
...
Veronika
2 months ago
I think the correct options are B) SplObjectStorage and D) spl_object_hash.
upvoted 0 times
...

Save Cancel