Blog Post

Getting ready for PHP 8

The next major version of PHP, version 8.0, is scheduled for release later this month, and it represents a huge step from current PHP 7.x, but it also brings many breaking changes that would require changes to existing code to be able to run on new PHP.

Jump from PHP 5.x to 7.0 required a lot of testing, modifications, and more testing, and each subsequent PHP version required some additional work, but not too much. With PHP 8, changes will be more substantial, and testing can be difficult.

I have started some initial tests with PHP 8. The problem right now is that current stable WordPress versions are not PHP 8 compatible. Upcoming WordPress 5.6 should be compatible with PHP 8, but even that might not be 100% compatible, and it can take a few more updates to make it compatible. In any case, the plan is first to test all Dev4Press shared library (used by all Dev4Press plugins), and then test individual plugins and apply changes to make plugins PHP 8 compatible.

I have done some initial testing with a limited number of plugins, using current development versions of PHP 8 and WordPress 5.6, and the first tests are very encouraging. When PHP 7 was released, the work I did has paid off in a big way for PHP 8 compatibility, and several plugins I tested all work without any warnings or errors in PHP. I plan to test all the plugins in the coming weeks.

Because of the new PHP and wide range of PHP versions available, from December 2020, Dev4Press plugins will no longer be tested with PHP 5.6. No changes or fixes for PHP 5.6 compatibility will not be deployed, making PHP 7.0 defacto minimal supported version for upcoming releases of Dev4Press plugins since January 1, 2021.

If you notice any issues with Dev4Press and PHP 8, please let me know.

Please wait...

About the author

Milan Petrovic
Milan Petrovic

CEO and Lead developer of Dev4Press Web Development company, working with WordPress since 2008, first as a freelancer, later founding own development company. Author of more than 250 plugins and more than 20 themes.

Subscribe to Dev4Press Newsletter

Get the latest announcements, release digests, promotions and exclusive discounts, and general Dev4Press-related news straight into your mailbox.

This form collects your email (optionally your name) for the purpose of sending you newsletters. Check out our Privacy Policy for more information on how we store and manage your data. We will not send you any spam. Newsletters are sent 2 to 4 times every month.

Latest From The Blog

gravity forms antispam results

Gravity Forms Antispam results

We have used the Gravity Forms plugin on Dev4Press for over ten years now, and having a good antispam solution is essential to keep contact form entries clean and not waste time sorting out what is spam or not.
Multiple topic prefixes

GD Topic Prefix Pro 3.7/3.8 for bbPress

GD Topic Prefix Pro version 3.7 is a smaller scope release that includes the latest shared code library, various updates, and fixes and adds a license code panel in the plugin settings and plugin dashboard notice about license status.
quantum user profile 39

GD Quantum Theme Pro 3.9 for bbPress

A new update for the Quantum Theme plugin for bbPress brings a few more options for user profile navigation, a new version of the shared library, and the first stage of overhauling the settings handling to come in 4.0.

2 thoughts on “Getting ready for PHP 8”

  1. Hi,
    Your dedication to support and maintaining compatibility is really appreciated.

    Please wait...
    • Thanks Dale!

      Please wait...

Leave a Comment

SiteGround - Managed WordPress Hosting
WP Rocket - Make WordPress Load Fast in a Few Clicks