Don't think that was quite what I was looking for. The reason I was looking for a way to clear all variables in an object is this. The object has a function called load, that just loads a bunch of data from the DB. If while loading, it finds a bad piece of data, I want it to clear all the variables within the object.
I could make a function called clear() and just have it do something like:
$this->a = null;
$this->b = null;
$this->c = null;
The problem is, I want this class to be inherited, so that any child class can use this method and it will work.