PEAR_Common::validatePackageInfo

PEAR_Common::validatePackageInfo()

PEAR_Common::validatePackageInfo() -- Validate XML package definition file

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.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.