PhpRequirements::$phpEolDates

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Utility/PhpRequirements.php \Drupal\Core\Utility\PhpRequirements::phpEolDates
  2. 10 core/lib/Drupal/Core/Utility/PhpRequirements.php \Drupal\Core\Utility\PhpRequirements::phpEolDates

The expected PHP version end-of-life dates, keyed by PHP minor version.

The array keys are in 'major.minor' format, and the date values are in ISO 8601 format.

An array of end-of-life dates in ISO 8601 format, keyed by the PHP minor version in 'major.minor' format. The list must be sorted in an ascending order by the date. Multiple versions EOL on the same day must be sorted by the PHP version.

Type: string[]

File

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

Class

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

Namespace

Drupal\Core\Utility

Code

private static $phpEolDates = [
    '8.3' => '2027-12-31',
];

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