src/PEAR/Common.php
function infoFromDescriptionFile($descfile)
    {
        $packagefile = &new PEAR_PackageFile($this->config);
        $pf = &$packagefile->fromPackageFile($descfile, PEAR_VALIDATE_NORMAL);
        return $this->_postProcessChecks($pf);
    }
function infoFromDescriptionFile($descfile)
    {
        $packagefile = &new PEAR_PackageFile($this->config);
        $pf = &$packagefile->fromPackageFile($descfile, PEAR_VALIDATE_NORMAL);
        return $this->_postProcessChecks($pf);
    }
Returns information about a package file.  Expects the name of
a package xml file as input.

@param string  $descfile  name of package xml file

@return array  array with package information

@access public
@deprecated use PEAR_PackageFile->fromPackageFile() instead