--TEST-- Function -- array_walk_recursive --SKIPIF-- --FILE-- 'apple', 'b' => 'banana'); $fruits = array('sweet' => $sweet, 'sour' => 'lemon'); function test_print($item, $key) { echo "$key holds $item\n"; } array_walk_recursive($fruits, 'test_print'); ?> --EXPECT-- a holds apple b holds banana sour holds lemon