You are here

constant Drupal::RECOMMENDED_PHP in Drupal 9

Same name and namespace in other branches
  1. 10 core/lib/Drupal.php \Drupal::RECOMMENDED_PHP

Minimum recommended version of PHP.

Sites installing Drupal on PHP versions lower than this will see a warning message, but Drupal can still be installed. Used for (e.g.) PHP versions that have reached their EOL or will in the near future.

1 use of Drupal::RECOMMENDED_PHP
system_requirements in core/modules/system/system.install
Implements hook_requirements().

File

core/lib/Drupal.php, line 135

Class

Drupal
Static Service Container wrapper.

Code

const RECOMMENDED_PHP = '7.4';