News Feed
Sections




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

Havard Eide's Blog:
Iterators
August 06, 2008 @ 12:52:35

Havard Eide looks at another aspect of the Standard PHP Library in a new blog post today - iterators.

[It's] a set of classes in the SPL that implements various iterating patterns: ArrayIterator, AppendIterator, FilterIterator, LimitIterator and NoRewindIterator. Hopefully you'll get a idea of what these are capable of and that you can get some new ideas for your day-to-day tasks.

He breaks it down into example of each, explaining what they can be used for, how they work and a code example of each in action (with output). You can find more information in iterators and their functions in the SPL section of the manual.

0 comments voice your opinion now!
iterator tutorial array append filter limit norewind


blog comments powered by Disqus

Similar Posts

Hasin Hayder's Blog: Complete oAuth script for Twitter and LinkedIn using PECL oAuth Extension

PHPMaster.com: Under the Hood of Yii’s Component Architecture, Part 2

PHP Web Services: How to configure https for Apache2.2 and consume PHP web services over https

DevShed: An Introduction to Using the Decorator Pattern with PHP

Maarten Balliauw's Blog: Saving a PHPExcel spreadsheet to Google Documents


Community Events





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


interview list api language library code release introduction series wordpress developer laravel threedevsandamaybe configure bugfix install community podcast framework application

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