Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_operators.c
| From: | Ilia Alshanetsky | Date: | Thu, 06 Nov 2003 21:28:35 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_operators.c | ||
| References: | 1 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-1964@lists.php.net to get a copy of this message | ||
On November 6, 2003 04:06 pm, Andi Gutmans wrote:
> Any idea why this fixes the bug? E_NOTICE isn't accessing the variable nor
> does it bailout.
> What am I missing?
The bug does not occur due to the zend_error() directly. It happens when
error_handler is triggered and the variables passed to the function
originally are accessed. In this case the variable is already destroyed and
partially converted to a string (value & length are populated by type is not
set). This is the cause of the crash in ZE1. In ZE2 it does not crash, but
for consistency sake I MFHed the array handling portion (the object handling
was already being done is such a way).
Ilia