[PHP-DEV] Re: important bug, please read From: André Langhorst (waldschrott <email protected>)
Date: 10/29/00

Zeev,

> I think this patch is incorrect but try it anyway and get back to us
> anyway.

well, you´re right :)

> Just so we have some more information and know what is really
> bothering your script.

Your patch fixes that particular problem, sure. But I ran another
heavy-OO-app on that patched version and encountered:

"Fatal error: Call to a member function on a non-object in ..."

Besides, I don´t understand why a simple meaningless method call causes
references to be created,

without method call:
object(stdClass)(1) { ["root"]=> object(obj)(0)
object(stdClass)(1) { ["root"]=> object(obj)(1)
object(stdClass)(1) { ["root"]=> object(obj)(0)

with method call:
object(stdClass)(1) { ["root"]=> &object(obj)(0)
object(stdClass)(1) { ["root"]=> object(obj)(1)
object(stdClass)(1) { ["root"]=> &object(obj)(0)

IIRC, that "&" indicates that is-ref is set and that there are
references out there, but there shouldn´t be any additional references,
are am I missing sth?

hope that helped

andré

-- 
ˇ André Langhorst       ˇ t: +49 571 3201801 ˇ
ˇ waldschrott <email protected>   ˇ m: +49 173 9558736 ˇ
ˇ PHP Quality Assurance ˇ http://qa.php.net  ˇ

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>