Re: [PHP] [PHP4] class overload and ref to objects

2004-08-11 Thread Justin Patrin
The magic methods tend to screw up references in PHP4. I've turned it off completely myself. My advise is to switch to PHP5 or not use the overloading. On Wed, 11 Aug 2004 15:06:51 +0200, Alessandro Vitale <[EMAIL PROTECTED]> wrote: > Hi all, > > I have encountered some troubles in trying to achi

[PHP] [PHP4] class overload and ref to objects

2004-08-11 Thread Alessandro Vitale
Hi all, I have encountered some troubles in trying to achieve the following: - overload class properties by means of __set() and __get() magic functions - store references to objects rather than copies of them in the overloaded class properties using the following code I can actually store and a