iterator_apply
statamic/cms
Supported Versions: PHP 5 >= 5.1.0, PHP 7, PHP 8
Call a function for every element in an iterator
<?php iterator_apply
(
Traversable $iterator
, callable
$callback
, ?array
$args
=
null
):
int