PEAR_Common::validPackageName
PEAR_Common::validPackageName() – Test whether a string is a valid package name
Synopsis
require_once 'PEAR/common.php';
bool
PEAR_Common::validPackageName (
string $name
)
Описание
Test whether a string contains a valid package name.
Parameter
-
string
$name
-
the package name to test
Return value
bool
-
Returns TRUE on success, FALSE on failure.
Замечание
This function can not be called statically.