-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.14, 3.11.3, 4.0, 4.1
Requirement: We need the MOODLE_400_STABLE and the MOODLE_401_STABLE branch to exist to proceed with this (4.0.0 and 4.1.0 release).
PHP 8.0 is supported from Moodle 3.11 onwards.
The next version of PHP is 8.1 and it's planned to be supported by Moodle 4.1 and up.
We should introduce a restricted PHP version check for PHP versions >= 8.0 into 3.11, for PHP versions >= 8.1 into 4.0 and for PHP versions >= 8.2 into 4.1.
This change must be applied to ALL supported branches, including security-only ones.
See previous MDL-68735 as a reference for this and the behaviour in previous branches (3.8, 3.9 and 3.10).
Usual changes to perform to Moodle Docs include (updated to the new PHP 8.1 information):