If you are done with an object, you can emulate destruction by unsetting the object which will free all stuff associated with the object.
$getInfo = $someObjectToBeDestroyed->function();
// Now we've got what we need ($getInfo)
// So we can destroy the object.
unset ($someObjectToBeDestroyed);
Hope this helps,
Tuurlijk!