PHP 8.5’s array_first and array_last are small additions, but they remove helper functions most PHP codebases already reinvent.
Tag: php
PHP 8.5 deprecations are useful because they turn vague upgrade risk into a concrete cleanup list before PHP 9.
The PHP Foundation’s new ecosystem security team is exactly the kind of boring infrastructure mature platforms need.
PHP 8.5 is not interesting because of one huge feature. It is interesting because many of the changes remove everyday friction.
PHP 8.5’s NoDiscard attribute gives library and application code a direct way to say that ignoring a return value is probably a bug.
PHP 8.5’s clone-with syntax makes immutable value objects easier to work with, especially around readonly properties.
The PHP 8.5 pipe operator is useful when it makes data transformations read forwards, but it should not become a new way to hide simple code.
PHP 8.5’s new URI extension is not flashy, but it gives PHP a better built-in answer for parsing modern URLs.
PHP 8.5.4 is a bug-fix release, not a feature release. If you are already on PHP 8.5, you should update. If you are still on 8.4, this alone is not the reason to jump.