News Feed
Sections




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

PHPro.org:
Introduction to Standard PHP Library (SPL)
November 03, 2008 @ 11:19:58

Kevin Waterson has posted a new tutorial to the PHPro.org website today - a pretty comprehensive look at the DirectoryIterator in the Standard PHP Library (SPL).

SPL provides a standard set of interfaces for PHP5. The aim of SPL is to implement some efficient data access interfaces and classes for PHP. Functionally it is designed to traverse aggregate structures (anything you want to loop over). These may include arrays, database result sets, xml trees, directory listings or any list at all. Currently SPL deals with Iterators.

He looks at functionality like the Directory Iterator, getting the file owner, checking to see if a file is valid and how to rewind an iterator.

0 comments voice your opinion now!
spl standard library tutorial introduction directoryiterator


blog comments powered by Disqus

Similar Posts

Stefan Koopmanshcap's Blog: Installing the Geoip PECL package for Zend Server on OSX

Sameer Borate's Blog: Checking coding standards with PHP_Codesniffer

Daniel Cousineau: Using Symfony Console From Scratch

LifeHacker.com: Synchronize Google Voice with Your GPS Location

Alex Inführ: PHP non alpha numeric 7 and 6 char code


Community Events

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


php7 list series laravel5 voicesoftheelephpant podcast extension unittest language release introduction framework laravel api version community interview library opinion wordpress

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