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

Possible PEAR_Error values
Error code Error value Meaning Solution
  "    

Note

This function can not be called statically.