Issue #3261611 by xjm, andregp, ranjith_kumar_k_u, Suresh Prabhu Parkala,...
Issue #3261611 by xjm, andregp, ranjith_kumar_k_u, Suresh Prabhu Parkala, ravi.shankar, quietone, Gábor Hojtsy: Fix PHP requirements link and standardize the strings that reference it
// in the printed message to the user) whenever \Drupal::MINIMUM_PHP is
// updated.
if(version_compare(PHP_VERSION,'7.3.0')<0){
print'Your PHP installation is too old. Drupal requires at least PHP 7.3.0. See the <a href="https://www.drupal.org/docs/9/how-drupal-9-is-made-and-what-is-included/environment-requirements-of-drupal-9#s-php-version-requirement">Environment requirements of Drupal 9</a> page for more information.';
print'Your PHP installation is too old. Drupal requires at least PHP 7.3.0. See <a href="http://php.net/supported-versions.php">PHP\'s version support documentation</a> and the <a href="https://www.drupal.org/docs/system-requirements/php-requirements">Drupal PHP requirements</a> page for more information.';
$requirements['php']['description']=t('Your PHP installation is too old. Drupal requires at least PHP %version. It is recommended to upgrade to PHP version %recommended or higher for the best ongoing support. See <a href="http://php.net/supported-versions.php">PHP\'s version support documentation</a> and the <a href=":php_requirements">Environment requirements of Drupal 9</a> page for more information.',
$requirements['php']['description']=t('Your PHP installation is too old. Drupal requires at least PHP %version. It is recommended to upgrade to PHP version %recommended or higher for the best ongoing support. See <a href="http://php.net/supported-versions.php">PHP\'s version support documentation</a> and the <a href=":php_requirements">Drupal PHP requirements</a> page for more information.',
$requirements['php']['description']=t('It is recommended to upgrade to PHP version %recommended or higher for the best ongoing support. See <a href="http://php.net/supported-versions.php">PHP\'s version support documentation</a> and the <a href=":php_requirements">Drupal 8 PHP requirements handbook page</a> for more information.',['%recommended'=>\Drupal::RECOMMENDED_PHP,':php_requirements'=>'https://www.drupal.org/docs/8/system-requirements/php']);
$requirements['php']['description']=t('It is recommended to upgrade to PHP version %recommended or higher for the best ongoing support. See <a href="http://php.net/supported-versions.php">PHP\'s version support documentation</a> and the <a href=":php_requirements">Drupal PHP requirements</a> page for more information.',['%recommended'=>\Drupal::RECOMMENDED_PHP,':php_requirements'=>'https://www.drupal.org/docs/system-requirements/php-requirements']);
@@ -1308,7 +1308,7 @@ function system_requirements($phase) {
$requirements['limited_date_range']=[
'title'=>t('Limited date range'),
'value'=>t('Your PHP installation has a limited date range.'),
'description'=>t('You are running on a system where PHP is compiled or limited to using 32-bit integers. This will limit the range of dates and timestamps to the years 1901-2038. Read about the <a href=":url">limitations of 32-bit PHP</a>.',[':url'=>'https://www.drupal.org/docs/8/system-requirements/limitations-of-32-bit-php']),
'description'=>t('You are running on a system where PHP is compiled or limited to using 32-bit integers. This will limit the range of dates and timestamps to the years 1901-2038. Read about the <a href=":url">limitations of 32-bit PHP</a>.',[':url'=>'https://www.drupal.org/docs/system-requirements/limitations-of-32-bit-php']),