News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
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



Similar Posts

Eran Galperin's Blog: Passing arrays to Zend_Controller_Router

PHPBuilder.com: Using cURL with PHP

Hiveminds Magazine: Using numbers in PHP function names

DevShed: Introduction to Using SQLite with PHP 5

Jonathan Street's Blog: When scraping content from the web don't make it obvious


Community Events









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


example developer framework code release package job conference releases ajax application zendframework security book PEAR PHP5 database zend cakephp mysql

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