jyurkiw
September 22nd, 2004, 07:07 PM
Is there any advantage, in PHP, to creating a clear-type function for a class (one that will manually reset the state of the object to what it was at construction)
vs.
just dropping the old instantiation and making a new one?
...as in taking something like $anOldObject and going
$anOldObject = new someClass();
I'm not sure how the Zend engine handles garbage collection so...
Jeff
vs.
just dropping the old instantiation and making a new one?
...as in taking something like $anOldObject and going
$anOldObject = new someClass();
I'm not sure how the Zend engine handles garbage collection so...
Jeff