News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matthew Turland's Blog:
New SPL Features in PHP 5.3
May 24, 2010 @ 10:27:17

Matthew Turland has a new to his blog today about some of the new SPL features in PHP 5.3 (and was eventually made into this presentation).

The SPL, or Standard PHP Library, is an often overlooked extension in the PHP core. It first came on the scene in PHP 5 and a variety of iterators constituted the majority of its initial offerings. Though the iterator offerings were expanded in PHP 5.3, the particularly interesting additions to the SPL were several specialized data structure classes, the foundational concepts for which originate in the field of computer science. In this post, I will provide an overview of these new classes and explain why and when they should be used.

Matthew talks about some of the new advancements in working with arrays, creating fixed arrays, handling lists (linked and doubly-linked), stackes, queues, heaps and hash maps. He also includes some benchmark information and graphs of some tests he ran comparing the SPL methods to some of their normal PHP counterparts.

0 comments voice your opinion now!
spl standard library feature new benchamrk graph


blog comments powered by Disqus

Similar Posts

Gergely Hodicska's Blog: What is new in PHP 5.3 - Part 4

Matthew Weier O'Phinney's Blog: A Primer for PHP 5.3's New Language Features

SitePoint Ruby on Rails Blog: PHP developers most likely to switch to Rails

Web Builder Zone: 5 things that PHP envies Java for

Tobias Schlitt's Blog: Radar charts, MS SQL support, dialog system and greetings from spiderman!


Community Events





Don't see your event here?
Let us know!


release opinion list laravel composer interview voicesoftheelephpant series artisanfiles library language security introduction podcast framework version tool symfony community conference

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework