iterator_apply

PHP 5 >= 5.1.0, PHP 7, PHP 8
iterator_apply - Call a function for every element in an iterator
Manual
Code Examples

Example #1 iterator_apply example

Result: APPLES BANANAS CHERRIES
PHP Version:


Function iterator_apply:

Standard PHP Library (SPL) Functions

Most used PHP functions