Etienne Kneuss

home » news » New datastructures in SPL

SPL Datastructures

The Standard PHP Library was recently completed by a couple of data structures, namely heaps and doubly linked lists. You can find more information about those on
php.net/spl.datastructures

Feeds available

You can read colder.ch directly from the rss/atom feeds:
rss general RSS (general)
rss php RSS (PHP)
atom general Atom (general)
atom php Atom (PHP)

New design : Clearblue

I've made a new skin using the same design with blue colors: Clearblue. Check it out

New website

As you can see, the website has changed completely. I've re-designed everything using different types of technology to give an overall improvement. Take a look in the news section for detailed information.

New datastructures in SPL The 16th of January 2008 @ 23:18

New datastructures made their way into SPL recently:

  • SplDoublyLinkedList

as long with two childs:

  • SplStack
  • SplQueue

Those structures implement Iterator, ArrayAccess and Countable which makes them easy to handle. There are also multiple ways to iterate through them.

More datastructures will get implemented in the future. The goal is to implement quite every basic datastructure along with algorithms related to them. SPL could then be used as an object oriented replacement for ADT.

Comments

17.01.2008 #1 doughill

I've been looking everywhere for this.. :). My mind can rest now.

17.01.2008 #2 pcdinh

Sorry but I think that this class should be named SplDoublyLinkedList, SplStack, SplQueue (Spl instead of spl). The first name of the class should be uppercase, right?

17.01.2008 #3 pcdinh

Oh, the sentence: The first name of the class should be uppercase, right? should be read as follows:

The first character of the class name should be in uppercase, right?

17.01.2008 #4 colder

You're right! It's fixed now.

22.01.2008 #5 deniz

hi great co(l)der!
Nice classes ! It'll be useful.

See u

Add a comment

Username:

Spam Challenge: 13+14=?

Comment: