Why is a class an instance of a string?
<p>Suddenly faced this in PHP:</p>

<pre><code>&lt;?php
  class MyClass{}; 
  $a=new MyClass(); 
  $b="MyClass"; 
  var_dump($a instanceof $b);
</code></pre>

<p>Result:</p>

<pre><code>bool(true)
</code></pre>

<p>Why is this true?</p>
