protected function checkPHP(&$report)
{
$phpReport = array();
$min_php_version = '5.6.0';
if (version_compare(PHP_VERSION, $min_php_version, '<')) {
$phpReport[] = array('severity' => 'failure', 'message' => _elgg_services()->translator->translate('install:check:php:version', array($min_php_version, PHP_VERSION)));
}
$this->checkPhpExtensions($phpReport);
$this->checkPhpDirectives($phpReport);
if (count($phpReport) == 0) {
$phpReport[] = array('severity' => 'pass', 'message' => _elgg_services()->translator->translate('install:check:php:success'));
}
$report['php'] = $phpReport;
}