Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Liip
RMT
Version
Generator
GeneratorInterface
compareTwoVersions
Liip\RMT\Version\Generator\GeneratorInterface::compareTwoVersions PHP Метод
Документация по интерфейсу GeneratorInterface
Показать файл
Открыть проект
compareTwoVersions()
публичный
Метод
Function used to compare two versions. Must return: * -1 if $a is older than $b * 0 if $a and $b are the same * 1 if $a is more recent than $b
public
compareTwoVersions
(
string
$a
,
string
$b
) :
integer
$a
string
$b
string
Результат
integer
public function compareTwoVersions($a, $b);
GeneratorInterface
__construct
compareTwoVersions
generateNextVersion
getInformationRequests
getInitialVersion
getValidationRegex