in reply to Re: "cleaning out" object data
in thread "cleaning out" object data

That would make $obj point to a new object within its own scope, but all other references to the original object would still be intact, as would the data stored in the original object. I'll make a small example in the OP to clarify.

Remember rule one...