Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PhpRequirements.php

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',
];

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal