Re: Zend Engine question

From: Date: Thu, 30 Oct 2003 09:45:09 +0000
Subject: Re: Zend Engine question
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-5099@lists.php.net to get a copy of this message
Wojtek Meler <wmeler@wp-sa.pl> wrote: > OK, so the reason for this bug is referencing EG(uninitialized_zval) ? > I can't find place in code where it is (really big script). > Is it possible to add some code to execute loop to check if this > happens and bailout with zend_error ? I could locate this piece of code > and workaround it then. > I tried to watch if EG(uninitialized_zval).refcount>2 but it doesn't work. > Any suggestions ? Hmm, EG(uninitialized_zval) is not the only player within this issue. The basic problem is caused by malfunction of return-by-reference that occurs when the returnee is a zval that has been originated from a non-variable scalar. - bug #22367 (http://bugs.php.net/22367) http://cvs.php.net/cvs.php/php-src/tests/lang/bug22367.phpt - bug #22510 (http://bugs.php.net/22510) http://cvs.php.net/cvs.php/php-src/tests/lang/bug22510.phpt - bug #22592 (http://bugs.php.net/22592) http://cvs.php.net/cvs.php/php-src/tests/lang/bug22592.phpt Those bugs are also involved. Regards, Moriyoshi

« previous php.internals (#5099) next »