require_once 'PEAR/common.php';
bool PEAR_Common::validPackageName (string $name)
bool PEAR_Common::validPackageName
Test whether a string contains a valid package name.
the package name to test
bool - Returns TRUE on success, FALSE on failure.
This function can not be called statically.