[PHP] cloning $this php5

2007-05-11 Thread blackwater dev
I have a method within an class that should make a copy of itself, do some stuff on the copy and return it. The object contains data members that are references to other objects. I basically want a brand new copy of the object. The problem is, certain methods I call on the object throw this

Re: [PHP] cloning $this php5

2007-05-11 Thread Jim Lucas
blackwater dev wrote: I have a method within an class that should make a copy of itself, do some stuff on the copy and return it. The object contains data members that are references to other objects. I basically want a brand new copy of the object. The problem is, certain methods I call on