title: how to call the default destructor of a class if there is no destructor defined by the programmer in php
body: <p>if there is no destructor defined in a class how to call the destructor if needed?</p>
  
  <p>__destruct() is not the default destructor of a class. then how to call the default destructor from inside a class? hence if i don't define any __destruct() method in the parent class i can't call it from a child class. how to do it?</p>
  
  <pre><code>class c1
  {
      public $a=10;
      public function f1()
      {
          self::__destruct();//Fatal error: Call to undefined method c1::__destruct()
      }
  }
  
  $obj1_c1 = new c1();
  $obj1_c1-&gt;f1();
  </code></pre>