Brian Moon's Blog: Stupid PHP Tricks: Normalizing SimpleXML Data
Brian Moon has a "stupid PHP trick" posted to his blog today - normalizing SimpleXML data you've pulled in from just about any external source. Anyhow, one annoying thing about SimpleXML has to do...
View ArticleBuilder.com.au: How do I...recursively scan directories with PHP's...
Builder.com.au has a new tutorial posted today talking about the use if Iterators (from PHP's SPL) to recurse down through directories on your local drive. One of PHP5's most interesting new features...
View ArticlePHP 10.1 Blog: Y-Combinator in PHP
New from the PHP 10.0 blog today is this look at trying to set up recursive closures in the upcoming PHP 5.3 release (it includes closures, but it doesn't look like this is possible). Instead, Stas...
View ArticleDevShed: Including Files Recursively with Loader Applications in PHP
DevShed continues their "loaders in applications" series with this fourth part, a look at including files recursively. This series uses a variety of code samples to teach you how to create modular...
View ArticleDevShed: Developing a Recursive Loading Class for Loader Applications in PHP
DevShed has posted part three of their series looking at loader applications in PHP using the __autoload magic method. While this file loading class in its current incarnation does a pretty good job,...
View ArticleDevShed: Using Directory Iterators to Build Loader Apps in PHP
DevShed finishes off their "loader" series of tutorials today with this eighth part focusing on the use of Directory Iterators. Here's where the SPL comes in, since it's possible to use a combination...
View ArticleRafael Dohms' Blog: Iterating over life with SPL Iterators I: Directories
Rafael Dohms has posted the first part of a series he's writing looking at the Iterators that come with the Standard PHP Library (SPL). In this first article he focuses on Directory iterators....
View ArticleJeremy Cook's Blog: Recursive Closures in PHP 5.3
In this recent post from Jeremy Cook he take a look at an interesting use of closures in PHP - using them recursively to strip slashes off a string. One thing all of my projects have in them is code...
View ArticlePHPBuilder.com: PHP Arrays: Advanced Iteration and Manipulation
In this new tutorial from PHPBuilder.com, Jason Gilmore shows you some of the more advanced things you can do with arrays in PHP (specifically in the areas of iterating through them and manipulating...
View ArticlePHPMaster.com: Using SPL Iterators, Part 1
On PHPMaster.com today there's a new tutorial posted, the first part of a series, looking at the use of the Standard PHP Library (SPL) in PHP. In this first part of the series, Stefan Froelich looks...
View Article