-
Notifications
You must be signed in to change notification settings - Fork 40
Open
backdrop/backdrop
#5159Milestone
Description
PHP 8.5 will be released November 20, 2025. Compared to previous releases, the list of changes that will affect us seem to be minimal:
According to https://php.watch/versions/8.5:
Deprecated functionality:
- All MHASH_* constants deprecated
- Non-canonical scalar type casts (boolean|double|integer|binary) deprecated
- Returning non-string values from a user output handler is deprecated
- Emitting output from custom output buffer handlers is deprecated
Of those, it seems that only the second one may be relevant to Backdrop. Doing a quick search I found that casting as (boolean) is rare but happens in a few places. Other scalars seem to be fine.
We should increment our supported PHP version to 8.5, and bump the test runner to run on 8.5 when ready.