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: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.