If you use array_walk with an associative array, the only
arguments that PHP automatically passes to the defined
array are the numerical/element keys.  Is there any way
you can force it to pass the associative keys?

For example, I have an array:

$bob = array( "this" => "other" );

Instead of passing "this" and "other" to your array, PHP 
passes "0" and "other".  Is there any way I can make it
so that it passes "this"?


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

Reply via email to