Handy for comparing version numbers such as 1.0 vs 1.3 or even 2.3.6 vs 220.127.116.11.32
Returns an integer indicating the result:
- 0 Indicates the versions are equal.
- -1 Means the vesion is less than $that.
- 1 Means the version is greater than $that.
The version to compare against. Can be either a version string or another version object.
Either -1, 0 or 1 to indicate if the version is less than, equal to or greater than $that.
TRUE or FALSE indicating if the versions are equal.