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.

2 thoughts on “Getting ready for PHP 8”

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

    Please wait...
    Reply
    • Thanks Dale!

      Please wait...
      Reply

Leave a Comment

Latest From The Blog

plugins release forum toolbox for bbpress 8.0

forumToolbox for bbPress 8.0

We are thrilled to announce the official release of forumToolbox Pro 8.0! This release marks a major evolution, focusing on modernizing core workflows, stripping out legacy technical debt, and introducing new attachments upload interface reimagined from ground up.
plugins release sweeppress pro lite 7

SweepPress 7.0 Pro & Lite

SweepPress, version 7.0 (both Lite and Pro), is a major update that brings one new management tool for managing attachments in media library, new shared library, new Freemius SDK, various improvements and fixes.
announcement pricing changes

Changes to the plugins pricing

Dev4Press plugins switched to use Freemius in January of 2025, and to make things simpler, the new pricing model remained as it was before that. We have now decided to update the pricing model.

0
2
0
0
0
1
0
0
0