Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Liip
RMT
Version
Generator
GeneratorInterface
compareTwoVersions
Liip\RMT\Version\Generator\GeneratorInterface::compareTwoVersions PHP Method
GeneratorInterface Interface Documentation
Show file
Open project: liip/rmt
compareTwoVersions()
public
method
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
return
integer
public function compareTwoVersions($a, $b);
GeneratorInterface
__construct
compareTwoVersions
generateNextVersion
getInformationRequests
getInitialVersion
getValidationRegex