PEAR_Common::infoFromString

PEAR_Common::infoFromString() – Returns information about a package file

Synopsis

require_once 'PEAR/common.php';

array PEAR_Common::infoFromString ( string $data )

Description

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

Parameter

string $data

content 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.