Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 575 Bytes

iterators.md

File metadata and controls

16 lines (12 loc) · 575 Bytes
title updated permalink
What are Iterators in PHP and How to Use Them?
August 20, 2016
/faq/object-oriented-programming/php-iterators/

An iterator is an object that enables a programmer to traverse a container. Various types of iterators are often provided via a container's interface.

People many times forget about underused and built in iterators in PHP's standard PHP library.

Resources

  • PHP manual - The Iterator interface chapter in the PHP Manual.