xPDOTransport.checkPlatformDependencies
Последнее обновление Oct 16th, 2026 | История страницы | Улучшить эту страницу | Сообщить о проблеме
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn morexPDOTransport::checkPlatformDependencies¶
Проверяет, доступны ли версия PHP и требуемые расширения, перечисленные в зависимостях. Возвращает true, если требования платформы выполнены, иначе — массив с описанием того, чего не хватает.
Синтаксис¶
boolean|array checkPlatformDependencies (array $dependencies)
Пример¶
$missing = xPDOTransport::checkPlatformDependencies(array(
'php' => '>=8.1',
'extensions' => array('pdo_mysql', 'json'),
));
Смотрите также¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn more










