PHP » GoLang |
login |
register |
about
|
GoLang Ds\Vector::apply
request it (588)
GoLang replacement for PHP's Ds\Vector::apply
[edit | history]
Ds\Vector::apply(PECL ds >= 1.0.0) Ds\Vector::apply — Updates all values by applying a callback function to each value Description
Updates all values by applying a Parameters
Return ValuesNo value is returned. ExamplesExample #1 Ds\Vector::apply() example
<?phpThe above example will output something similar to:
Ds\Vector Object
(
[0] => 2
[1] => 4
[2] => 6
)
|
more
Most requested
more
Last requests
|