go to bug id or search bugs for
I think all functions that currently take Traversable arguments were meant to include also arrays.
If I recall correctly, `Traversable|array` is implemented somewhere, but not everywhere.
There is no reason to be selective with Traversables only, given that both Iterables and Traversables have just marker interfaces (with no methods).
For example, iterator_to_array($iterable) should just return the array as is.
Add a Patch
Add a Pull Request