Call PHP destructor explicitly in Proxy class?
<p>I am writing a Proxy class in PHP.</p>

<p>To do so, I am using magic method to catch calls/get/set... to the proxied instance, and forward them to that instance.</p>

<p>However, I am unsure what to do in this situation:</p>

<pre><code>class Proxy {

    // Proxied object
    private $instance;

    // ...

    function __destruct() {
        // unset($this-&gt;instance); ?
        // $this-&gt;instance-&gt;__destruct(); ?
        // nothing ?
    }

}
</code></pre>

<p>Should I (can I) call the destructor explicitly? Or should I just unset the object, knowing it won't really destroy it for sure (at least, immediately)?</p>

<p>Or should I just do nothing and wait for the garbage collector to destroy the instance?</p>
