static mapToArray()
The mapToArray() static method cast all elements of the iterable to an array
Example.php
Syntax
Parameter
$iterable
An iterable containing an iterable. It converted to an array.
Return value
A new array containing elements converted to an array.
References
Last updated