SplObjectStorage:

"This container allows to store objects uniquly without the need to compare them one by one."

Unless I'm mistaken, in Java and Mathematics, this is called a Set.

"A collection that contains no duplicate elements."

Is there some reason not to name the class for the general concept? Is there a reason to limit this class to object members?

Best Regards,

Jeff Moore

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to