xPDOTransport.compareSignature
Последнее обновление 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::compareSignature¶
Сравнивает две сигнатуры пакетов и возвращает -1, 0 или 1 в зависимости от того, первая меньше второй, равна ей или больше неё.
Синтаксис¶
integer compareSignature (string $signature1, string $signature2)
Пример¶
$result = xPDOTransport::compareSignature('my_package-1.0.0-pl', 'my_package-1.0.0-beta');
Смотрите также¶
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










