-
Bug
-
Resolution: Fixed
-
Major
-
3.8.3, 3.9, 3.10.1
-
MOODLE_310_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_310_STABLE, MOODLE_35_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
PHP 7.4 is supported from Moodle 3.8.
The next version of PHP is 8.0 and it's planned to be supported by Moodle 3.11 and up.
We should introduce a restricted PHP version check for PHP versions >= 7.4 into 3.8, 3.9 and 3.10.
This change must be applied to ALL supported branches, including security-only ones.
See previous MDL-66262 as reference for this and the behavior in previous branches (3.6 and 3.7).
Usual changes to perform to Moodle Docs include (updated to the new PHP 8.0 information):
TODO: A note in the PHP Versions page about the WIP and the current status, like this.
TODO: (docs_required) Whenever the new version release notes is available, something like this.
From the original report, some months ago (now outdated because PHP 8.0 is already out):
Changes are added to all supported versions (security-only included).
We should really have done this when we removed the 7.4 restricted version check as we always knew that 7.4 was the benchmark, and not a higher version.
I feel it's better to make this change now, and not when 8.0 is out because some people will not update Moodle in the interim.