SystemRequirements.php in Drupal 8
File
core/modules/system/src/SystemRequirements.php
View source
<?php
namespace Drupal\system;
@trigger_error(__NAMESPACE__ . '\\SystemRequirements is deprecated in Drupal 8.8.0 and will be removed before Drupal 9.0.0. All supported PHP versions support disabling multi-statement queries in MySQL. See https://www.drupal.org/node/3054692', E_USER_DEPRECATED);
class SystemRequirements {
public static function phpVersionWithPdoDisallowMultipleStatements($phpversion) {
@trigger_error(__NAMESPACE__ . '\\SystemRequirements::phpVersionWithPdoDisallowMultipleStatements() is deprecated in Drupal 8.8.0 and will be removed before Drupal 9.0.0. All supported PHP versions support disabling multi-statement queries in MySQL. See https://www.drupal.org/node/3054692', E_USER_DEPRECATED);
return version_compare($phpversion, '5.5.21', '>=') && version_compare($phpversion, '5.6.0', '<') || version_compare($phpversion, '5.6.5', '>=');
}
}