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 )

Description

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.

Note

This function can not be called statically.

Validate XML package definition file (Previous) Return an XML document based on the package info (Next)
Last updated: Tue, 19 Aug 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.