array_walk_recursive

PHP 5, PHP 7, PHP 8
array_walk_recursive - Apply a user function recursively to every member of an array
Manual
Code Examples

Example #1 array_walk_recursive example

Result: a holds apple b holds banana sour holds lemon
PHP Version: