title: Undeclare a class in PHP
body: <p>I have a daemon processing quite a bit of MVC logic in the background that includes the classes it needs on demand. Sometimes, however, it comes to a point where it includes two identically named classes from different modules within one cycle. Ideally, I would like to "undeclare" a class before I include it again, I cannot find in the PHP manual however, if this is possible.</p>
  
  <p>Something like this:</p>
  
  <pre><code>//first foo 
  class foo(){ 
  
  } 
  
  //undeclare foo 
  undeclare foo; 
  
  //create new foo 
  class foo(){ 
  
  } 
  </code></pre>