Programmer's Reference Guide
Table of Contents
The class constant Zend_Version::VERSION
contains a string that identifies the current version
number of Zend Framework. For example, "0.9.0beta".
The static method Zend_Version::compareVersion($version)
is based on the PHP function
version_compare().
The method returns -1 if the specified $version
is older than the Zend Framework version, 0 if they are the same,
and +1 if the specified $version is newer than the
Zend Framework version.
Example 41.1. Example of compareVersion() method
<?php
// returns -1, 0 or 1
$cmp = Zend_Version::compareVersion('1.0.0');
Search the Manual
Components
Languages Available
Translation Status Reports
View the current status report of Zend Framework manual translations.
