title: Why COM class doesn't exist any longer in PHP 5.4.5?
body: <p>I have a following code which works fine in PHP 5.4.4:</p>
  
  <pre><code>if (@class_exists('COM'))
  {
      // Do the actual work here...
  }
  else
  {
      throw new MissingComponentException('COM');
  }
  </code></pre>
  
  <p>Once upgraded to PHP 5.4.5, the code stops working, and is always throwing the exception. Other answers on Stack Overflow are not helpful, since they are referring to PHP running on a platform other than Windows (<a href="https://stackoverflow.com/a/10678341/240613">example</a>; <a href="https://stackoverflow.com/a/11704312/240613">another one</a>).</p>
  
  <p>What can I do?</p>