4 years ago 9,245 views
Presented by Christopher Pitt (@assertchris)
June 22, 2017
If you use other languages, you’ve probably found features that you wish PHP had. Perhaps you miss that bit of C# class accessor syntax. Or perhaps you’d really like to use JS arrow functions…
You can have those things, and you don’t even have to write C to do it.
I’m going to introduce you to a library that will allow you to use preprocessor macros, to turn your desired bit of syntax into valid PHP syntax. Then I’m going to show you a few libraries that use those macros to bring fresh and interesting new syntax to everyday PHP applications.