One of the most recent new features of PHP is Anonymous Classes, introduced with PHP version 7. But what are Anonymous Classes? How do you use them? And what would you use them for? Let's take a look behind the mask, and find out.


Comments are closed.

Really useful lecture on anonymous classes in PHP7