PEAR_Common::validatePackageInfo
Synopsis
boolean PEAR_Common::validatePackageInfo (
string $info
, array &$errors
, array &$warnings
, string $dir_prefix = ''
)
Description
Validate XML package definition file.
Parameter
-
string
$info -
Filename of the package archive or of the package definition file
-
array
$errors -
Array that will contain the errors
-
array
$warnings -
Array that will contain the warnings
-
string
$dir_prefix -
directory where source files may be found, or empty if they are not available
Return value
bool -
TRUE if valid
Note
This function can not be called statically.