Some Fun Modern PHP Features
A lot of WordPress PHP is still written in a PHP 5(.6) style for compatibility reasons. This is the best/worst thing about WordPress. But increasingly hosts are pushing even the most laggardly PHP versions into the 7-series and some are even prompting to try PHP 8. So for that reasons, WordPress PHP developers could use a refresher on what’s new since 5.6. Which is precisely what this little article from Dimitrios Lytras does perfectly.
Organized as a little cheat-sheet this post won’t give you an exhaustive summary of the features he explores. But you’ll see a quick code-snippet to get you some sense of what it does, which is really all I want in most of these articles anyway.
Great little article. Give it a once-over if you’re writing PHP anywhere 🙂