PHP 8.5 Release: New Features Including Pipe Operator, Clone With, and URI Parser
By
brentroose
Pure flour-power. Hearty enough to carry you through lunch.
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 pulledPHP 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.
You might also wanna read
TypeScript Website Launches Major Update with New Documentation, Playground Plugins, and tsconfig Reference
The article announces the second launch of the new TypeScript website, featuring significant updates including new documentation tools, a pl
Analyzing the Three Main Causes of JavaScript Dependency Bloat
The article examines the three main causes of JavaScript dependency bloat in npm packages: 1) redundant packages that duplicate native platf
Vite 8.0 Released with Unified Rust-Based Rolldown Bundler for 10-30x Faster Builds
Vite 8.0 has been released with a major architectural change: it now uses Rolldown as its single, unified Rust-based bundler instead of the
Network-UI: A Modern Framework for Building Network Applications
The article discusses network-ui, a modern UI framework for building network applications. It covers the framework's features including decl
Turbopack: How Incremental Computation Accelerates Development Workflows
Turbopack is a modern bundler that uses incremental computation and caching to dramatically speed up development workflows. Unlike tradition
jQuery 4.0.0 Released: First Major Version Update in Nearly 10 Years
jQuery 4.0.0 has been officially released after nearly 10 years since the last major version update. This milestone release marks 20 years s
