This class splits a php version number into its different components. The supported components are:
Major Version
Minor Version
Revision Number
Release Candidate Number
Beta Version Number
Alpha Version Number
Patch Level Number
By default, all of the above components are -1. If a component is not -1, that means there is a value for that component.
This class also contains a compare function for comparing two version numbers together. It compares the version number associated with this class and a version number that is passed in as an argument. If the passed in version number is newer than the version number associated with this class, 1 is returned, if the passed in version number is older than the version number associated with this class, -1 is returned, and if they are equal, 0 is returned.
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Good (83.3%) |
Good (83.3%) |
- |
- |
- |
- |
Not sure (50.0%) |
1355 |
| Month: |
Not yet rated by the users |
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.