title: How reliable is __destruct?
body: <p>Are there situations in which this method would not be called?</p>
  
  <p>I'm thinking to store a important variable into a persistent cache just before the cache object gets destroyed. This variable is used many times in the page so I wouldn't like to update the cache with it every time the variable changes...</p>