title: Purpose of PHP constructors
body: <p>I am working with classes and object class structure, but not at a complex level – just classes and functions, then, in one place, instantiation.</p>
  
  <p>As to <code>__construct</code> and <code>__destruct</code>, please tell me very simply: <strong>what is the purpose of constructors and destructors</strong>?</p>
  
  <p>I know the school level theoretical explanation, but i am expecting something like in real world, as in which situations we have to use them.</p>
  
  <p>Provide also an example, please.</p>
  
  <p>Regards</p>