Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By alexpott on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.9.x
Introduced in version:
8.9.0
Description:
PHP 8 will be released in November 2020. Drupal 8 and Drupal 9.0 are not compatible with PHP 8.
Drupal 9.1 has been tested against PHP 8 release candidates and the core codebase will be compatible. It is possible that some of Drupal 9.1's dependencies will not be fully compatible when PHP 8 is launched. This release note will be updated with information as the situation evolves.
#3109885: [meta] Ensure compatibility of Drupal 9 with PHP 8.0 (as it evolves) contains a list of all changes made to Drupal core to make it compatible with PHP 8. Notable issues for contrib include:
- #3156542: \ReflectionParameter::getClass() is deprecated in PHP 8.0
- #3174022: call_user_func_array() and named arguments in PHP 8
- Contrib database drivers - #3174662: Encapsulate \PDOStatement instead of extending from it
- If the contrib module / project has javascript tests - #3174928: Improve the stability of core JS testing and prepare for update of MinkSelenium2Driver
Impacts:
Site builders, administrators, editors
Module developers
Themers
Distribution developers