\Zend_Version

Class to store and retrieve the version of Zend Framework.

Summary

Methods
Properties
Constants
compareVersion()
No public properties found
VERSION
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

VERSION

VERSION = '1.9.5'

Zend Framework version identification - see compareVersion()

Methods

compareVersion()

compareVersion(string  $version) : boolean

Compare the specified Zend Framework version string $version with the current Zend_Version::VERSION of Zend Framework.

Parameters

string $version

A version string (e.g. "0.7.1").

Returns

boolean —

-1 if the $version is older, 0 if they are the same, and +1 if $version is newer.