Wojtek Meler <[EMAIL PROTECTED]> 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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to