PHP users,

I obviously don't understand what array_walk_recursive does.

Can someone break down in simple terms why the following doesn't work?

- - -

$karamohOutput['test'] = "";

function test_print($item, $key)
{
    return "$key holds $item\n";
}
$karamohOutput['test'] .= array_walk_recursive($karamohArray, 'test_print');

- - -

Any advice would be much appreciated.

-- 
Dave M G

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to