Re: Re: About bug #26753 and zend_register_list_destructors()
| From: | Andi Gutmans | Date: | Mon, 16 Feb 2004 08:41:41 +0000 |
| Subject: | Re: Re: About bug #26753 and zend_register_list_destructors() | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7870@lists.php.net to get a copy of this message | ||
At 09:25 AM 2/16/2004 +0100, Derick Rethans wrote:
On Mon, 16 Feb 2004, Andi Gutmans wrote: It seems to me that the difference is in the dtor() callback's parameters. I'm not sure why type_name is not passed to zend_register_list_destructors(). It probably did not exist when it was originally written. I guess we can either fix the comparison, change zend_register_list_destructors() to accept type_name, or nuke zend_register_list_destructors() completely and move to _ex(). Probably the last is the best option if we only have to fix two extensions. Third party extensions might use it too, you can't just remove API functions at will :)Uhm, sure you can in a major version especially if it's barely used. Andi