Web development insights
PHP 8.5 Released: The Features Worth Knowing
NOVEMBER 24, 2025 | BY SMARTWEBIX TEAM | WEB DEVELOPMENTPHP 8.5 was released in November 2025. It continues the language’s steady modernisation, with features that make code more readable and safer.
Headline features
- Pipe operator (
|>): chain function calls from left to right, passing the result of one into the next. This can make sequences of transformations much easier to read than deeply nested calls. - New URI extension: a built-in, standards-compliant way to parse and work with URLs, which improves on the older parsing functions.
- Clone with: create a modified copy of an object more concisely, which is particularly helpful with immutable value objects.
- The
#[\NoDiscard]attribute: warns when a function’s important return value is ignored. - New array helpers:
array_first()andarray_last()make common operations simple.
Why it matters to site owners
Each PHP version has a limited support window: bug fixes for a while, then security fixes only, then nothing. Moving to a current version keeps your applications supported and secure and often improves speed.
Upgrade checklist
- Check that your framework, CMS and packages support PHP 8.5.
- Read the official migration guide for deprecations and removed features.
- Test on a staging site with error reporting turned up.
- Back up before switching the live server.
You do not need to upgrade on release day, but you should have a plan to move within a reasonable time.