Reset Class Instance Variables via Method
<p>Does anyone know how to reset the instance variables via a class method. Something like this:</p>

<pre><code>class someClass 
{
    var $var1 = '';
    var $var2 = TRUE;

    function someMethod() 
    { 
        [...]
        // this method will alter the class variables
    }

    function reset()
    {
        // is it possible to reset all class variables from here?
    }
}

$test = new someClass();
$test-&gt;someMethod();
echo $test-&gt;var1;

$test-&gt;reset();
$test-&gt;someMethod();
</code></pre>

<p>I know I could simply do $test2 = new SomeClass() BUT I am particularly looking for a way to reset the instance (and its variables) via a method.</p>

<p>Is that possible at all???</p>
