PHP » GoLang |
login |
register |
about
|
|
Ds\Deque::map(PECL ds >= 1.0.0) Ds\Deque::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\Deque::map() example
<?phpThe above example will output something similar to:
Ds\Deque Object
(
[0] => 2
[1] => 4
[2] => 6
)
Ds\Deque Object
(
[0] => 1
[1] => 2
[2] => 3
)
|
more
Most requested
more
Last requests
|