Davey wrote:
I am fine with the callback type, and the "handler" name to use for callback paramater names.
Goba
It seems that "callback" and "handler" are well recieved, would you like for me to go through and change all functions which use callbacks to have this?
IMHO "handler" only makes sense where one can't come up with another more descriptive parameter name for the callback function/method passed ...
take the usort() function for an example, its current prototype is
void usort ( array array, callback cmp_function)
if you changed it to
void usort ( array array, callback handler)
you lose a *lot* of information on what the function does ...
I will keep that in mind. I'll try to use descriptive names where possible, and I won't remove any names unless they are currently "callback".
- Davey
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php