diff --git a/reference/spl/functions/iterator-apply.xml b/reference/spl/functions/iterator-apply.xml index 8000a6c035..94c236c9e8 100644 --- a/reference/spl/functions/iterator-apply.xml +++ b/reference/spl/functions/iterator-apply.xml @@ -13,7 +13,7 @@ intiterator_apply Traversableiterator callablefunction - arrayargs + arrayargs&null; Calls a function for every element in an iterator. @@ -28,7 +28,7 @@ iterator - The class to iterate over. + The iterator object to iterate over. @@ -37,6 +37,9 @@ The callback function to call on every element. + This function only receives the given args, so it + is nullary by default. If count($args) === 3, for + instance, the callback function is ternary. The function must return &true; in order to @@ -50,7 +53,9 @@ args - Arguments to pass to the callback function. + An array of arguments; each element of + args is passed to the callback + function as separate argument.