RE: [PHP-CVS] cvs: php4 /ext/skeleton php_skeleton.h
| From: | Sterling Hughes | Date: | Mon, 20 Nov 2000 17:19:43 +0000 |
| Subject: | RE: [PHP-CVS] cvs: php4 /ext/skeleton php_skeleton.h | ||
| References: | 1 2 3 4 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-2703@lists.php.net to get a copy of this message | ||
At 07:24 PM 11/20/2000 +0200, Zeev Suraski wrote:
At 10:12 20-11-00, Sterling Hughes wrote:Ok, I'll reverse the patch, I just found it useful in the sablotron extension ;-). -SterlingI think its simple helpful to be able to directly access your global structure (in a way that will work in both ZTS mode and normal module the same).I think that it shouldn't be in the skeleton - the situation you're describing is extremely rare. If you decide that you need it - you can implement it in your own extension. But putting it in the skeleton encourages people to use it, and in most cases, using it would be the wrong thing to do.