Hi,
Do I have to worry about these macros in my own functions ? Do I have to worry about them when doing lookups in zend hash tables (which I do to get cookie- and request data) ? It's just annoying not knowing much about them =).
TSRM macros are for accessing thread safe globals. If your code makes use of f.e. EG(foo) or PG(bar) or similiar, then you need the handles.
You also need the handles if your function is called from another function that calls it with the TSRM macros, or if you call yourself a
function that expects to get the TSRM handles passed.
You can test your code with:
--enable-maintainer-zts (PHP5)
--enable-experimental-zts (PHP4)
Stefan
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php