You are here

constant Drupal::MINIMUM_SUPPORTED_PHP in Drupal 9

Minimum supported version of PHP.

Below this version:

  • New sites cannot be installed, except from within tests.
  • Updates from previous Drupal versions can be run, but users are warned that Drupal no longer supports that PHP version.
  • An error is shown in the status report that the PHP version is too old.
5 uses of Drupal::MINIMUM_SUPPORTED_PHP
QuickStartTest::testPhpRequirement in core/tests/Drupal/Tests/Core/Command/QuickStartTest.php
Tests that the installer throws a requirement error on older PHP versions.
QuickStartTest::testQuickStartCommand in core/tests/Drupal/Tests/Core/Command/QuickStartTest.php
Tests the quick-start command.
QuickStartTest::testQuickStartInstallAndServerCommands in core/tests/Drupal/Tests/Core/Command/QuickStartTest.php
Tests the quick-start commands.
RequirementsPageTrait::updateRequirementsProblem in core/tests/Drupal/Tests/RequirementsPageTrait.php
Handles the update requirements page.
system_requirements in core/modules/system/system.install
Implements hook_requirements().

File

core/lib/Drupal.php, line 99

Class

Drupal
Static Service Container wrapper.

Code

const MINIMUM_SUPPORTED_PHP = '7.3.0';