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

@param string  $data  contents of package.xml file

@return array   array with package information

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