Re: [PHP-DEV] [PATCH] Automatic module globals management

2006-06-08 Thread Steph Fox
DS>>The attached patch (for PHP_5_2) implements automatic management of module DS>>globals. DS>>The problem that module globals must be unregistered before extension DS>>unloading, because "globls_dtor" function is unloaded together with DS>>extension and cannot be called. I think the patch itse

Re: [PHP-DEV] [PATCH] Automatic module globals management

2006-06-08 Thread Stanislav Malyshev
DS>>The attached patch (for PHP_5_2) implements automatic management of module DS>>globals. DS>>The problem that module globals must be unregistered before extension DS>>unloading, because "globls_dtor" function is unloaded together with DS>>extension and cannot be called. I think the patch itself

Re: [PHP-DEV] [PATCH] Automatic module globals management

2006-06-08 Thread Steph Fox
Hey Dmitry, all, Disclaimer: I've had a sneak preview on this one. I really don't like this going into 5_2 branch, and the more I think about it the less sure I am about it going into HEAD either. It would mean renaming all the ctor/dtor functions to the new globals, which is going to take an