title: Is destructor in PHP predictable?
body: <p>Is a class destructor in PHP predictable? When is the destructor called?</p>
  
  <p>Like in many languages, will a class destructor be called as soon as the object goes out of scope?</p>