Tagged articles
8 articles
Page 1 of 1
21CTO
21CTO
Jan 16, 2026 · Backend Development

What’s New in PHP 8.5? Pipe Operators, PFA, and Upcoming Features Explained

The article reviews PHP 8.5’s late‑2025 release, highlighting enhanced pipe operators, partial function application (PFA), object‑cloning syntax, closure improvements, richer fatal‑error stack traces, and upcoming RFCs such as pattern matching, while also covering related runtimes like FrankenPHP, the Mago toolchain, TrueAsync, and the PHPverse conference.

AsyncPHPRuntime
0 likes · 8 min read
What’s New in PHP 8.5? Pipe Operators, PFA, and Upcoming Features Explained
21CTO
21CTO
Nov 21, 2025 · Backend Development

What’s New in PHP 8.5? Exploring Pipe Operator, NoDiscard, and Performance Boosts

PHP 8.5, released on November 20, introduces major enhancements such as the pipe operator, NoDiscard attribute, first‑class callable support in constant expressions, new array_first/array_last functions, persistent cURL handles, improved error tracing, and notable performance gains demonstrated in SVG generation benchmarks.

PHPPipe Operatornew-features
0 likes · 4 min read
What’s New in PHP 8.5? Exploring Pipe Operator, NoDiscard, and Performance Boosts
Open Source Tech Hub
Open Source Tech Hub
Jul 17, 2025 · Backend Development

How PHP’s #[\NoDiscard] Attribute Prevents Silent Return‑Value Bugs

The article explains PHP 8.5’s #[\NoDiscard] attribute, showing how it forces developers to handle function return values, provides syntax and usage examples, demonstrates real‑world scenarios, and describes ways to suppress warnings when the return value is intentionally ignored.

attributenodiscardphp8.5
0 likes · 5 min read
How PHP’s #[\NoDiscard] Attribute Prevents Silent Return‑Value Bugs
21CTO
21CTO
Jul 9, 2025 · Backend Development

What’s New in PHP 8.5 Alpha 1? Key Features and Release Timeline

The first Alpha of PHP 8.5 has been released, bringing support for closures in constant expressions, fatal‑error backtraces, a #[\NoDiscard] attribute, (void) casts, a pipe operator, new array_first() and array_last() functions, and a CLI “--ini=diff” option, with a stable version slated for late November.

Alpha ReleaseBackend DevelopmentPHP
0 likes · 2 min read
What’s New in PHP 8.5 Alpha 1? Key Features and Release Timeline
php Courses
php Courses
May 15, 2025 · Backend Development

Introducing PHP 8.5’s array_first() and array_last() Functions

PHP 8.5 adds two handy functions, array_first() and array_last(), which retrieve the first and last elements of an array without altering the internal pointer, offering clearer syntax, safety, and performance benefits, along with usage examples, compatibility notes, and recommended scenarios.

Backend DevelopmentPHParray_first
0 likes · 6 min read
Introducing PHP 8.5’s array_first() and array_last() Functions