Re: [PATCH] Two bugs in variable destruction
| From: | Marcus B�rger | Date: | Wed, 22 Oct 2003 07:57:55 +0000 |
| Subject: | Re: [PATCH] Two bugs in variable destruction | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4910@lists.php.net to get a copy of this message | ||
Hello Vesselin,
Wednesday, October 22, 2003, 8:43:39 AM, you wrote:
> Hello.
> There are two bugs that show when code is executed from an object destructor and
> PHP is compiled in debug mode. Both bugs cause the zend_hash_find() to fail in the
> IS_CONSISTENT() macro.
[...]
> And here is a patch that fixes these two bugs:
[...]
Besides your quick and dirty patch here's a patch that allows the
destructors to do their job correctly:
http://marcus-boerger.de/php/ext/ze2/ze2-shutdown-20031002.diff.txt
--
Best regards,
Marcus mailto:helly@php.net