Date: 07/27/98
- Next message: jim: "[PHP-DEV] CVS update: php3/doc/appendices"
- Previous message: jim: "[PHP-DEV] CVS update: php3/doc/appendices"
- In reply to: Zeev Suraski: "[PHP-DEV] call_user_function() - conventions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 19:59 25/07/98, Zeev Suraski wrote:
>I'm not sure this will be that useful for general purpose, but just so that
>it's clear how this function is supposed to be used, here goes.
One important thing I missed, and so generously got reminded of by a crash
bug in the new usort().
All internal functions that call user functions *must* be reentrant. Among
other things, it means they mustn't use globals without caution.
For a good example of an internal function that calls user functions, look
at the usort implementation in basic_functions.c - *never* write a function
like that! :)
Zeev
-- Zeev Suraski <zeev <email protected>> For a PGP public key, finger bourbon <email protected>
- Next message: jim: "[PHP-DEV] CVS update: php3/doc/appendices"
- Previous message: jim: "[PHP-DEV] CVS update: php3/doc/appendices"
- In reply to: Zeev Suraski: "[PHP-DEV] call_user_function() - conventions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

