views:

40

answers:

1

How should I implement a linked list in php? Or is there any implementation builtin into php.

I need to do a lot of insert/delete operations, same time I need to preserve order. There is no any SQL or extension.

Thanks

+4  A: 

There is SplDoublyLinkedList. Is this okay, too?

nikic
can you link to some easy samples to quick start?
osgx
What the... why does the PHP manual think "data structures" is a single word "datastructures"?
BoltClock
@BoltClock: As always you can file a bug report for that ;)
Mchl