Re: problem with EG(uninitialized_zval_ptr)
| From: | Stanislav Malyshev | Date: | Mon, 28 Oct 2002 15:24:38 +0000 |
| Subject: | Re: problem with EG(uninitialized_zval_ptr) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90204@lists.php.net to get a copy of this message | ||
TCA>> but zval_ptr_dtor (used in assert.c-OnChangeCallback) checks
TCA>> against EG(uninitialized_zval_ptr) - so calling zval_ptr_dtor
TCA>> anytime before init_executor will cause an UMR.
Actually, zval_ptr_dtor calls zval_dtor, which does much more EG(...)
games than just EG(uninitialized_zval_ptr). So I guess calling
zval_ptr_dtor before init_executor is unwise indeed...
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109