Login   Register  
PHP Classes
elePHPant
Icontem

PHP Version Parser

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Scott Christensen
Name: Scott Christensen <e-mail contact>
Packages: 4 Browse all classes by Scott Christensen Browse all classes by
Country: United States United States - PHP jobs in United States
Age: 40
All time rank: 16420 in United States United States
Week rank: 1104 Down122 in United States United States Down


  Detailed description   Download .zip .tar.gz  
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.

  Classes of Scott Christensen  >  PHP Version Parser  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Version Parser
Base name: 221
Description: This class splits a php version number into its different components.
Version: -
PHP version: -
License: Unspecified (ask the author)
All time users: 1522 users
All time rank: 2278
Week users: 0 users
Week rank: 2039 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image System information Information about servers, processes and operating system facilities View top rated classes


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (83.3%)
Good (83.3%)
-
-
-
-
Not sure (50.0%)
1539
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file cPHPVersion.inc ??? PHP version parser class
Accessible without login Plain text file hPHPVersion.inc ??? PHP version parser header file
Accessible without login Plain text file TestPHPVersion.php3 ??? Page for testing php version parser

Download all files: php.tar.gz php.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.