Date: 10/06/98
- Next message: be <email protected>: "[PHP-DEV] Bug #823: new function"
- Previous message: martin: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: be <email protected>
Operating system: any
PHP version: 3.0.5
PHP Bug Type: Feature/Change Request
Bug description: request on array_walk
it would be nice if the function (which array_wallk operates on) got
a second parameter passed: a string value which represents the
current key.
Now i could write
function output($val_ref, $key_name) {
print("Element '$key_name' contains the value '$val_ref'\n");
}
array_walk(array(1,2,3,4), "output");
Thank You
Boris
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: be <email protected>: "[PHP-DEV] Bug #823: new function"
- Previous message: martin: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

