title: How to detect an instance of an anonymous class?
body: <p>Since PHP7, we have <a href="http://php.net/manual/en/language.oop5.anonymous.php#language.oop5.anonymous">anonymous classes</a>.</p>
  
  <p>How can we know if an <code>$instance</code> is an instance of an anonymous class?</p>