PHP funkce array_walk_recursive()
Dostupnost ve verzích: PHP 5.0
Apply a user function recursively to every member of an array
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka |
|---|---|---|---|
$input |
array |
není | The input array. |
$funcname |
callback |
není | Typically, funcname takes on two parameters. The input parameter's value being the first, and the key/index second. |
$userdata |
mixed |
null | If the optional userdata parameter is supplied, it will be passed as the third parameter to the callback funcname. |
Návratové hodnoty
bool
vrátí true v případě úspěchu, jinak false v případě neúspěchu.