Some Fun Modern PHP Features

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 ?

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.

Disclosure: Some of the links in this post are "affiliate links." This means if you click on the link and purchase the product, We may receive an affiliate commission.

Leave a Comment

You have to agree to the comment policy.

Show Your ❤️ Love! Like Us
Scroll to Top