How does one delete an object?  For example:

        $object = new Class(...);
        .....
        $object = new Class(...);

I want to throw away the old object and create a new, freshly 
initialized one using the same variable.  Is the above adequate or will 
this orphan the first object?  If so is an unset($object) prior to the 
second "new" the appropriate approach?

Thanks,

 ----------
 Tom Rawson




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to