Talk in English - US at TEK·X
View Slides: http://www.slideshare.net/tobias382/new-spl-features-in-php-53/
Short URL: https://joind.in/talk/a20eb
One of the most underrated PHP extensions is likely the SPL or Standard PHP Library. With its initial introduction in PHP 5, it offered a number of iterators, interfaces, and exceptions similar to those of the C++ Standard Template Library. In PHP 5.3, the SPL gained several new additions: a number of container classes were introduced with specialized algorithms to increase performance for specific applications. This presentation provides background on the goals of the SPL as well as some of the components included in its initial release in PHP 5. It reviews information on data structures as they relate to SPL containers, the high-level algorithms associated with them, and their appropriate applications. Example use cases and current benchmarks versus traditional arrays for each component are included. The presentation assumes no formal education and is suitable for novice and intermediate level developers with little or no experience with SPL or data structures in general.