News Feed
Jobs 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

PHPImpact Blog: PHP implemented in 100% Java

PHPImpact Blog: Using Annotations in PHP

Anthony Ferrara's Blog: On PSR-0 Being Included In PHP's Core

Liip Blog: PHPDoc Compilers and the @inheritdoc

Matthew Turland's Blog: A Few Kinks in FilterIterator


Community Events











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


introduction security unittest hack language hhvm package series opinion example application framework component symfony2 podcast install facebook code release composer

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