Posted by Lόpher Cypher on 12/30/05 19:56
>
> Ah, well this, and one of PHP 4's "special features" (read "annoying
> behaviour"); the fact that:
>
> $a = new A();
>
> assigns a copy of the newly-created object, not a reference. Change it to:
>
> $a =& new A();
>
Can't believe it was such a small thing! :)
Thanks a lot!
luph
Navigation:
[Reply to this message]
|