DRUPAL_RECOMMENDED_PHP

Same name in other branches
  1. 8.9.x 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 65

Code

const DRUPAL_RECOMMENDED_PHP = \Drupal::RECOMMENDED_PHP;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.