PEAR_Dependency2::normalizeDep() – Convert a 1.0 dep into a 2.0 dep


require_once '/Dependency2.php';

array PEAR_Dependency2::normalizeDep ( array $dep )


This converts an old-style package.xml 1.0 <dep> tag into the format used by package.xml 2.0. package.xml 2.0 can represent every kind of <dep> tag in its new syntax.


array $dep

The package.xml 1.0 <dep> as parsed from xml.


throws no exceptions thrown


This function can not be called statically.

PEAR_Dependency2 (Previous) Specify a complex dependency on an OS/processor/kernel version, Use OS for simple operating system dependency. (Next)
Last updated: Wed, 18 Jan 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.