All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

PHP 8.5 Release: New Features Including Pipe Operator, Clone With, and URI Parser

By

brentroose

6mo ago· 4 min readenNews

Summary

PHP 8.5 was released on November 20, 2025, introducing several new features including the pipe operator for easier function chaining, clone with functionality, a new URI parser, and other improvements. The article explains how the pipe operator simplifies code by allowing sequential function calls instead of deeply nested structures, and provides examples of the new syntax and features.

Key quotes

· 4 pulled
PHP 8.5 was released on November 20, 2025. It includes the pipe operator, clone with, a new URI parser, and more.
PHP 8.5 introduces the new pipe operator that makes chaining output from one function to another a lot easier.
Instead of deeply nested function calls... You can now write this: $output = $input |> trim(...) |> (fn (string $string) => str_replace
The pipe operator |> takes the result of the left-hand side and passes it as the first argument to the right-hand side.
Snippet from the RSS feed
A blog about modern PHP, the web, and programming in general. Follow my newsletter and YouTube channel as well.

You might also wanna read