Anonymous classes are very cool and have a lot of potential uses, which are mentioned at the bottom of the RFC:<p><a href="https:&#x2F;&#x2F;wiki.php.net&#x2F;rfc&#x2F;anonymous_classes" rel="nofollow">https:&#x2F;&#x2F;wiki.php.net&#x2F;rfc&#x2F;anonymous_classes</a>