News Feed
Sections




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

DevShed:
Main Methods of the DirectoryIterator Class in PHP 5
September 11, 2006 @ 08:32:06

DevShed is starting up another new series today, this time looking at the DirectoryIterator methods out of the Standard PHP Library functionality.

Because this class might be handy to use in projects where handling directories is a must, in this new series I'll be taking a close look at some of its most important methods. We will explore these methods appropriately in conjunction with the corresponding code samples.

They introduce the class, noting why it's handy to use and where's the best place to use it - including an example. They get into a bit more detail, looking at the key() and current() methods as well as using the rewind() method to reset the pointer for the directory.

0 comments voice your opinion now!
directoryiterator class php5 standard library tutorial part1 directoryiterator class php5 standard library tutorial part1


blog comments powered by Disqus

Similar Posts

DevShed: More on Private Methods with PHP 5 Member Visibility

DevShed: PHP 5 and Polymorphism

PHPClasses.org Blog: Locating addresses on Google Maps embedded in PHP generated Web forms

NetTuts.com: Expressive Tests with Hamcrest

Brian Nelson's Blog: Writing A Reverse Proxy in PHP5


Community Events

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


application introduction podcast example list framework symfony opinion part2 programming community series composer api php7 yii2 laravel language project interview

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