public static function Comparator::lessThan in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/composer/semver/src/Comparator.php \Composer\Semver\Comparator::lessThan()
Evaluates the expression: $version1 < $version2.
Parameters
string $version1:
string $version2:
Return value
bool
1 call to Comparator::lessThan()
- Semver::usort in vendor/
composer/ semver/ src/ Semver.php
File
- vendor/
composer/ semver/ src/ Comparator.php, line 52
Class
Namespace
Composer\SemverCode
public static function lessThan($version1, $version2) {
return self::compare($version1, '<', $version2);
}