Skip to content

PHP 8.5 Compatibility #6110

@swissspidy

Description

@swissspidy

Previously:

PHP 8.5 is slated for November 2025. Here's an overview of what's new: https://php.watch/versions/8.5

Noteworthy:

  • New array_first and array_last functions
  • Deprecated Reflection*::setAccessible() methods
    • As of PHP 8.1.0, calling these methods have no effect; all properties are accessible by default. As of PHP 8.5.0, they are now deprecated.
    • Some of our tests use these methods and thus cause deprecation warnings. We could wrap the relevant parts in conditionals (e.g. if ( PHP_VERSION_ID < 80100 )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions