array( 'phpversion' => PHP_VERSION, 'ssl' => (int) \function_exists('openssl_open'), 'iconv' => (int) \function_exists('iconv') )); if (\MailSo\Base\Utils::FunctionExistsAndEnabled('memory_get_usage') && \MailSo\Base\Utils::FunctionExistsAndEnabled('memory_get_peak_usage')) { $aResult['php']['memory_get_usage'] = Utils::FormatFileSize(\memory_get_usage(true), 2); $aResult['php']['memory_get_peak_usage'] = Utils::FormatFileSize(\memory_get_peak_usage(true), 2); } self::SetStatistic('TimeDelta', \microtime(true) - self::GetStatistic('Inited')); $aResult['statistic'] = self::$aSetStatistic; $aResult['counts'] = self::$aIncStatistic; } return $aResult; } }