PEAR_Validate::validVersion()
PEAR_Validate::validVersion()
--
Determine whether a version is a properly formatted version number that can
be used by
version_compare()
概要
require_once '/Validate.php'; |
bool
PEAR_Validate::validVersion
(string
$ver)
説明
Use this method to test the validity of a version number string. All
versions must be testable with PHP's version_compare().
パラメータ
- string
$ver
Version string
例外・エラー
throws
no exceptions thrown
Final
final - this method should not be overridden.