PhpRequirements::$drupalMinimumPhp

Same name in other branches
  1. 9 core/lib/Drupal/Core/Utility/PhpRequirements.php \Drupal\Core\Utility\PhpRequirements::drupalMinimumPhp
  2. 11.x core/lib/Drupal/Core/Utility/PhpRequirements.php \Drupal\Core\Utility\PhpRequirements::drupalMinimumPhp

The minimum PHP version requirement for the installed Drupal version.

This property is maintained to make the class testable.

Type: string

See also

version_compare()

File

core/lib/Drupal/Core/Utility/PhpRequirements.php, line 19

Class

PhpRequirements
Provides an object for dynamically identifying the minimum supported PHP.

Namespace

Drupal\Core\Utility

Code

private static $drupalMinimumPhp = \Drupal::MINIMUM_PHP;

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