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