[PHP-DEV] Test - ignore

2006-06-30 Thread helly
Test - ignore -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] TSRMLS_D/C persistence

2006-06-30 Thread Andrew MatherBt
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

[PHP-DEV] Re: TSRMLS_D/C persistence

2006-06-30 Thread l0t3k
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

[PHP-DEV] Re: TSRMLS_D/C persistence

2006-06-30 Thread Sara Golemon
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