constant DRUPAL_MINIMUM_SUPPORTED_PHP in Drupal 9
Same name and namespace in other branches
- 8 core/includes/bootstrap.inc \DRUPAL_MINIMUM_SUPPORTED_PHP
Minimum supported version of PHP.
Below this version:
- New sites cannot be installed, except from within tests.
- Updates from previous Drupal versions can be run, but users are warned that Drupal no longer supports that PHP version.
- An error is shown in the status report that the PHP version is too old.
Deprecated
in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal::MINIMUM_SUPPORTED_PHP instead.
See also
https://www.drupal.org/node/2909361
File
- core/
includes/ bootstrap.inc, line 50 - Functions that need to be loaded on every Drupal request.
Code
const DRUPAL_MINIMUM_SUPPORTED_PHP = \Drupal::MINIMUM_SUPPORTED_PHP;