We use autoloaders in PHP all the time, but if you change your mindset a little, you’ll find they can do a lot more than you might’ve thought. We’ll be taking a look at using some unconventional techniques, we can use autoloaders to take PHP a step further, introducing interesting and exciting new functionality PHP natively doesn’t support.
Back in November 2019, I gave a lightning talk at the PHPSW meetup highlighting how to avoid a few of the pitfalls I often see people struggle with when they get started with localising web projects.
You can find the slides here: https://slides.com/liamhammett/avoiding-the-pain-of-localisation
You might think you know PHP, but if you dig below the surface you might find it can do more than you knew. Beyond the documented features, there lies a world of tricks, hacks and other techniques that can allow PHP to go a step further.
In this talk we’ll look outside the box at some things PHP provides like references, autoloading and magic methods and explore how using them in an unconventional way can benefit our own code.