Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 16437 программистов и 1697 роботов. Сейчас ищут 1565 программистов ...
PEAR_Common::validatePackageInfo
Вернуться к: PEAR_Common
PEAR_Common::validatePackageInfo
PEAR_Common::validatePackageInfo() – Validate XML package definition file
Synopsis
require_once 'common.php';
boolean PEAR_Common::validatePackageInfo ( string $info , array &$errors , array &$warnings , string $dir_prefix = '' )
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.
Вернуться к: PEAR_Common