title: When is "get_class equals" not the same as "instanceof"?
body: <p>I have some code where:</p>
  
  <pre><code>get_class($foo) == Bar::class
  </code></pre>
  
  <p>is not the same as:</p>
  
  <pre><code>$foo instanceof Bar::class
  </code></pre>
  
  <p>What possible reasons could this be the case?</p>