On 10/05/13 11:28, Daniel Friesen wrote:
On Thu, 09 May 2013 18:10:53 -0700, Tim Starling tstarling@wikimedia.org wrote:
- SplDoublyLinkedList
- SplFixedArray
- SplHeap
- SplMaxHeap
- SplMinHeap
- SplPriorityQueue
- SplQueue
- SplStack
It would be nice if HHVM would support these. I'm not sure what is so complex about these that HHVM can implement array() but not these simple classes.
While working on my skin rewrite ideas, trying to implement the template syntax parsing was much MUCH more readable and less prone to mistakes (like those that would occur if php cloned the array() in a place it shouldn't cause I typed something wrong) when working with SplDoublyLinkedList, SplQueue, and SplStack.
You can always implement the parts you need in pure PHP.
-- Tim Starling