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
PhpBrew
Version
compare
PhpBrew\Version::compare PHP Method
Version Class Documentation
Show file
Open project: phpbrew/phpbrew
compare()
public
method
public
compare
(
$b
)
public function compare($b) { return version_compare($a->getVersion(), $b->getVersion()); }
Version
__construct
__toString
compare
findLatestPatchVersion
getCanonicalizedVersionName
getDist
getMajorVersion
getMinorVersion
getPatchVersion
getVersion
hasPatchVersion
setVersion
upgradePatchVersion