How many of you themeforest (and codecanyon) authors are using or planing to use PHP 7 as a minimum PHP version on your WordPress themes/plugins?
Most themes nowadays seem to support 5.6 as the minimum PHP version, but seeing that 5.6 usage has fallen bellow 15% (10.5% to be exact), wouldn’t it make sense to start using PHP 7 for new themes? All client sites I’ve been given access (to help fix issues with my plugins) were using PHP 7 to 7.4
I’m thinking of developing my new theme in PHP 7. Would it be too risky? This is the market share as of today (keep in mind this is for all Wordpress sites (including people who’ve never purchased a theme or plugin)):
And this is what it looked like in early 2019:
5.6 usage decreased in half in just two years. This trend is going to continue for the next few years.
Right now I can think of two very popular plugins that require PHP 7:
-Woocommerce: 5 million installs
- Rank Math SEO: 700,000 installs
With all of this in mind, do you think is unwise to code my next theme with PHP 7? I really want to take advantage of the new language features.
What do you guys think?