Iterate over the keys and values of the supplied iterator and
passes them (value, key) to the supplied function.
public walk ( Traversable $iterator, callable $function ) : void | ||
$iterator | Traversable | |
$function | callable | |
return | void |