However, doing so limits their potential reach.įor instance, only 10.7 percent of installations currently run on PHP 7.4, and we can expect even less will immediately run on PHP 8.0 after being released. Themes and plugins are not bounded by the PHP requirements by WordPress, so they could already require version 7.1 or higher. Whether this fixed schedule is approved or not, the situation looks dire for developers who want to use the latest improvements to PHP. Under these circumstances, it has been proposed to start having a fixed schedule for upgrading the minimum version, offering a compromise between upgrading to new PHP versions while providing security patches for older versions: Proposed fixed updated schedule. However, it’s been decided to temporarily cancel the PHP version bump, because almost 24 percent of installations still run on either PHP 5.6 or 7.0: September 2020 WordPress usage stats, via /about/stats. In its upcoming new release this December, WordPress should upgrade its minimum required PHP version from 5.6 to 7.1. This concern affects every PHP-based project - whether based on Laravel, Symfony, Drupal, vanilla PHP, or whatnot - but it is particularly pressing for WordPress, and its community is currently attempting to find a solution. Is it possible to introduce it immediately into our projects? Or would we be unable to do it because, for instance, it uses a framework or CMS with legacy code? PHP 8.0 will be released at the end of this year. Transpiling PHP code from 8.0 to 7.x via Rector Leonardo Losoviz Follow Freelance developer and writer, with an ongoing quest to integrate innovative paradigms into existing PHP frameworks, and unify all of them into a single mental model.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |