PHP » GoLang |
login |
register |
about
|
array_walk(PHP 4, PHP 5, PHP 7) array_walk — Apply a user supplied function to every member of an array Description
Applies the user-defined
array_walk() is not affected by the internal array
pointer of Parameters
Return Values
Returns Errors/Exceptions
As of PHP 7.1.0, an ArgumentCountError will be thrown if the Examples
Example #1 array_walk() example
<?php The above example will output: Before ...: d. lemon a. orange b. banana c. apple ... and after: d. fruit: lemon a. fruit: orange b. fruit: banana c. fruit: apple See Also
|
more
Recently updated
more
Most requested
more
Last requests
|