PEAR_Validate::validPackageName | PEAR_Validate::validVersion |
PEAR_Validate | |
PEAR Manual | |
require_once '/Validate.php'; |
bool
PEAR_Validate::validState
(
string
$state
)
This utility method can be used to determine whether a string is a valid state. Currently, states must be one of snapshot, devel, alpha, beta, and stable.
State string to validate.
throws no exceptions thrown
final - this method should not be overridden.
This function should be called statically.
PEAR_Validate::validPackageName | PEAR_Validate::validVersion |
PEAR_Validate | |
PEAR Manual | |