PHP » GoLang |
login |
register |
about
|
GoLang Ds\Sequence::map
request it (342)
GoLang replacement for PHP's Ds\Sequence::map
[edit | history]
Ds\Sequence::map(PECL ds >= 1.0.0) Ds\Sequence::map — Returns the result of applying a callback to each value Description
Returns the result of applying a Parameters
Return Values
The result of applying a
ExamplesExample #1 Ds\Sequence::map() example
<?php The above example will output something similar to: Ds\Vector Object ( [0] => 2 [1] => 4 [2] => 6 ) Ds\Vector Object ( [0] => 1 [1] => 2 [2] => 3 ) |
more
Recently updated
more
Most requested
more
Last requests
|