How long are the TSRMLS_D/C parameters good for?
The life of a given thread.
Can the resultant tsrm_ls value be safely stored?
Yes, but only during the life of a thread. For practical purposes, you
should consider this to mean the life of a request since there is no
guarantee that subseque
Andrew,
i've only skimmed your question, and at the risk of being irrelevant ...
check out
http://cvs.php.net/viewvc.cgi/php-src/ext/unicode/property.c?revision=1.14&view=markup
and search for PHP_FUNCTION(char_enum_names).
Pay attention to the macro
TSRMLS_SET_CTX(ectx.thread_ctx)in that
How long are the TSRMLS_D/C parameters good for?
Can the resultant tsrm_ls value be safely stored?
I presume the answer is no, and these paramters
should be passed in each time a function is called,
but I would be curious to know differently, if for example
it could be passed in once at (externa
Test - ignore
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php