function __destruct() { $this->orStatus(2); if (method_exists(parent, "__destruct")) { parent::__destruct(); } }
public function __destruct() { parent::__destruct(); echo "Look out! SubFoo ", $this, " being destroyed! <br />"; }