PHP » GoLang |
login |
register |
about
|
GoLang iterator_to_array
request it (416)
GoLang replacement for PHP's iterator_to_array
[edit | history]
iterator_to_array(PHP 5 >= 5.1.0, PHP 7) iterator_to_array — Copy the iterator into an array DescriptionCopy the elements of an iterator into an array. Parameters
Return Values
An array containing the elements of the Changelog
Examples
Example #1 iterator_to_array() example
<?php The above example will output: array(4) { ["recipe"]=> string(8) "pancakes" [0]=> string(3) "egg" [1]=> string(4) "milk" [2]=> string(5) "flour" } array(4) { [0]=> string(8) "pancakes" [1]=> string(3) "egg" [2]=> string(4) "milk" [3]=> string(5) "flour" } |
more
Recently updated
more
Most requested
more
Last requests
|