You are here

constant DRUPAL_RECOMMENDED_PHP in Drupal 8

Same name and namespace in other branches
  1. 9 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.

@todo Move this to an appropriate autoloadable class. See https://www.drupal.org/project/drupal/issues/2908079

1 use of DRUPAL_RECOMMENDED_PHP
system_requirements in core/modules/system/system.install
Implements hook_requirements().

File

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

Code

const DRUPAL_RECOMMENDED_PHP = '7.3';