Compare the specified Zend Framework version string $version
with the current Zend_Version::VERSION of Zend Framework.
public static compareVersion ( string $version ) : integer | ||
$version | string | A version string (e.g. "0.7.1"). |
Результат | integer | -1 if the $version is older, 0 if they are the same, and +1 if $version is newer. |