October 23, 2025 at 04:24
Woohoo, 30 days until PHP 8.5 is released. 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, you'll from now on have to remember to "int" that type cast 😜
TL;DR: PHP 8.5 adds the pipe operator, array_first/array_last, locale_is_right_to_left, better fatal-error backtraces, new curl/Intl, PHP_BUILD_DATE, max_memory_limit and CLI --ini=diff. At the same time, MHASH_* constants, non-canonical typecasts and certain output-buffer handlers are being phased out — update your code.
