php-collection
php-collection copied to clipboard
Why do you not take advantage of spl's data structures ?
For example, to maintain a sorted collection you could use one of spl's heap based containers.
http://www.php.net/manual/en/spl.datastructures.php
So far, I've mainly spent time designing the API, there is no particular reason why I don't use SPL data structure except that I haven't looked into leveraging them.
+1 spl