PEAR_Validate::validVersion

PEAR_Validate::validVersion()

PEAR_Validate::validVersion()  --  Determine whether a version is a properly formatted version number that can be used by version_compare()

Description

Use this method to test the validity of a version number string. All versions must be testable with PHP's version_compare().

Parameter

string $ver

Version string

Throws

throws no exceptions thrown

Final

final - this method should not be overridden.

Note

This function should be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.