Warp to GirafPingvin
← Back to Feed
php.watch Link

PHP 8.5 is approaching with the pipe operator and changes

PHP 8.5 is approaching with the pipe operator and changes
✨ AI-generated image

Woohoo, 30 days until PHP 8.5 launches. I’m especially crazy about the new pipe operator https://php.watch/versions/8.5/pipe-operator — and non-canonical scalar type casts (boolean|double|integer|binary) are being deprecated, so if you’re an “integer” coder, from now on you’ll have to remember to “int” that type cast 😜

TL;DR

PHP 8.5 lands with a slick pipe operator, handy array helpers, better error/debug tooling, and useful CLI/Intl/Curl upgrades. It also trims legacy baggage with several deprecations—modernize now.

Summary

PHP 8.5, released on 2025-11-20, introduces several new features, including the pipe operator, `array_first`/`array_last`, improved fatal error stack traces, and new Intl, Curl, and CLI capabilities. It also adds configuration and build-related options such as `max_memory_limit`, `PHP_BUILD_PROVIDER`, and `PHP_BUILD_DATE`. The release deprecates several legacy or no-op functions and outdated scalar type cast syntax.

Read article ↗ php.watch

Recent links