PEAR_Common::infoFromAny() – Returns package information from different sources


require_once 'PEAR/common.php';

string PEAR_Common::infoFromAny ( string $info )


Returns package information from different sources. This method is able to extract information about a package from a .tgz archive or from a XML package definition file.


string $info

Filename of the source ('package.xml', '<package>.tgz')

Return value

string - Package information


Possible PEAR_Error values
Error code Error value Meaning Solution


This function can not be called statically.

Download a file through HTTP (Previous) Returns information about a package file (Next)
Last updated: Fri, 27 Nov 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.