Lines Matching refs:array_walk_recursive
2 Test array_walk_recursive() function : basic functionality - associative array
5 /* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata])
10 echo "*** Testing array_walk_recursive() : basic functionality ***\n";
46 echo "-- Using array_walk_recursive with default parameters to show array contents --\n";
47 var_dump(array_walk_recursive($fruits, 'test_print'));
49 echo "-- Using array_walk_recursive with one optional parameter to modify contents --\n";
50 var_dump (array_walk_recursive($fruits, 'test_alter', 'fruit'));
52 echo "-- Using array_walk_recursive with default parameters to show modified array contents --\n";
53 var_dump (array_walk_recursive($fruits, 'test_print'));
58 *** Testing array_walk_recursive() : basic functionality ***
59 -- Using array_walk_recursive with default parameters to show array contents --
73 -- Using array_walk_recursive with one optional parameter to modify contents --
91 -- Using array_walk_recursive with default parameters to show modified array contents --