This is a list of Iterator code examples based on samples shared in the Youtube PHP Iterators Talk by Jake Smith
I used a CakePHP Project under /var/www/wms to do the Directory Iterator Examples
- Caching Iterator
- Callback Iterator
- Directory Iterator
- FileSystem Iterator
- Filter Iterator
- Genorator
- Glob Iterator
- Infinite Iterator
- Limit Iterator
- Custom Menu Iterator using RecursiveArrayIterator
- Parent Iterator
- Recursive Directory Iterator Delete Files/Folders
- RecursiveDirectoryIterator 2
- Recursive Tree Iterator
- RegexIterator