You are here

constant DRUPAL_RECOMMENDED_PHP in Drupal 9

Same name and namespace in other branches
  1. 8 core/includes/bootstrap.inc \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.

Deprecated

in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal::RECOMMENDED_PHP instead.

See also

https://www.drupal.org/node/2909361

File

core/includes/bootstrap.inc, line 64
Functions that need to be loaded on every Drupal request.

Code

const DRUPAL_RECOMMENDED_PHP = \Drupal::RECOMMENDED_PHP;