Date:November 21, 2025
PHP 8.5 has now been officially released, and the version brings several technical improvements, new features and extended security support. The release is positive for the PHP ecosystem, but WordPress users should still exercise a bit of caution.
What’s new in PHP 8.5?
PHP 8.5 includes, among other things:
A new URI extension for better and more standardized handling of URLs
A pipe operator (|>) that makes it easier to write clearer, more readable code
The ability to update properties directly when cloning objects
New helper functions such as array_first() and array_last()
Improved error reports and backtraces for critical errors
The version will receive security updates through the end of 2029, providing a long lifespan.
How does WordPress compare to PHP 8.5?
WordPress has official and fully documented support for PHP 8.3 in recent versions. PHP 8.4 and 8.5 are not yet marked as fully supported in the WordPress core, and many plugins have also not been tested against these versions.
This means that you may encounter errors if you upgrade directly in a production environment.
Should you use PHP 8.5 on WordPress already?
It is not recommended to upgrade a live WordPress site to PHP 8.5 yet.
There are two main reasons:
WordPress has not announced full compatibility.
Plugins and themes may react differently to the new changes.
Instead, it is recommended to start testing PHP 8.5 in a staging environment. This allows you to check themes, plugins and any custom code, so you are prepared when the WordPress ecosystem is fully ready.
What should you do now?
Set up a staging environment and test PHP 8.5 there
Keep an eye on plugin updates and changelogs
Wait before moving to production until the WordPress team announces full support
Ensure you have secure backups and the ability to roll back
Conclusion
PHP 8.5 is a strong and modern release that delivers many improvements. This is good news for everyone working with PHP. However, WordPress users should continue to use a stable and fully supported PHP version in production, while PHP 8.5 should first be tested in controlled environments.





