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 ?
Visit dnlytras.com →
Keep reading the article at WPShout. The article was originally written by David Hayes on 2022-04-14 11:09:21.
The article was hand-picked and curated for you by the Editorial Team of WP Archives.
This article was written by David Hayes and originally published on WPShout.