PEAR_Common::infoFromDescriptionFile()

PEAR_Common::infoFromDescriptionFile() -- Returns information about a package file

Synopsis

require_once 'PEAR/common.php';

array PEAR_Common::infoFromDescriptionFile (string $descfile)

Description

Returns information about a package file. Expects the name of a package xml file as input.

Parameter

string $descfile

name of package xml file

Return value

array - array with package information

Throws

Table 27-1. Possible PEAR_Error values

Error codeError valueMeaningSolution
 ""  

Note

This function can not be called statically.