PEAR_Dependency2::validateDependency1() – validate a package.xml 1.0 dependency


require_once '/Dependency2.php';

true|PEAR_Error|array PEAR_Dependency2::validateDependency1 ( array $dep , array $params = array() )


Validate a package.xml version 1.0 <dep> dependency.


array $dep

The contents of the <dep> tag as parsed from xml

array $params

The list of PEAR_Downloader_Package objects that will be installed.


throws no exceptions thrown


This function can not be called statically.

Specify a complex dependency on an OS/processor/kernel version, Use OS for simple operating system dependency. (Previous) validate a dependency on a PHP extension (Next)
Last updated: Sun, 19 Feb 2017 — 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:
  • English

User Notes:

There are no user contributed notes for this page.