EN TR

PHP 8.5 Released: Pipe Operator, URI Extension and More

Admin 2 min read
PHP 8.5 Released: Pipe Operator, URI Extension and More

The PHP team officially released version 8.5 of the language on November 20, 2025. As part of the regular November release cycle, it includes several notable features that make everyday coding easier. Here are the headlines from the official announcement.

Highlights

  • Pipe operator: passes a value through a chain of functions from left to right, replacing deeply nested calls with a more readable flow.
  • Built-in URI extension: a standards-based interface for parsing and handling URLs, something previously covered only by limited functions.
  • Clone with: makes it easier to create a modified copy of an object, which helps when working with readonly objects.
  • NoDiscard attribute: raises a warning when a function whose return value matters is called and the result is ignored.
  • Handler introspection: new functions return the currently active error and exception handlers.

Deprecations

As with every release, 8.5 deprecates some older behavior. These appear as notices for now but may be removed in future versions, so they deserve attention during migration. The full list is available in the official upgrade notes.

What it means for project owners

A new release does not mean your project must upgrade immediately. However, PHP versions have a defined support window: roughly two years of active support followed by one year of security fixes. Projects that stay on old versions eventually stop receiving security updates.

When planning an upgrade, you can follow these steps:

  • Check that your framework and packages support the new version.
  • Run the application on the new version in a test environment and review warnings and deprecation notices.
  • Run your full automated test suite against it if you have one.
  • Ask your hosting provider when the new version will be available.

Our take

PHP 8.5 continues the language's modernization trend of recent years: readability, safer code and a stronger standard library. Features such as the pipe operator and the URI extension will take time to become common, so a planned upgrade schedule is healthier than a rushed one.

For details and the complete changelog, see the official release page on php.net.

php 8.5 php release pipe operator uri extension php upgrade software news

More articles