Re: [PHP-DEV] Re: Memory corruption in Zend, should we allow this? From: André Langhorst (andre <email protected>)
Date: 03/15/01

Stanislav Malyshev wrote:

> AL>> $foobar->rfoo=&$a;
> AL>> $foobar->r2foo=&$foobar->rfoo;
> AL>> $foobar->rfoo=4;
> AL>>
> AL>> What are we assigning 4 here to?
>
> To all three of them, which are all reference-bound.
hm, I got something very wrong - the var_dump() patch I am working on
fooled me and displayed some crap, I have reverted my latest change and
now it all makes sense again

setting a reference to a non-existing variable makes sense indeed

sorry for the spam
andré

-- 
· André Langhorst        t: +49 331 5811560 ·
· andre <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>