(PHP 5)
ReflectionExtension::getDependencies — Gets dependencies
Gets dependencies, by listing both required and conflicting dependencies.
此函数没有参数。
An associative array with dependencies as keys and either Required, Optional or Conflicts as the values.
Example #1 ReflectionExtension::getDependencies() example
<?php
$dom = new ReflectionExtension('dom');
print_r($dom->getDependencies());
?>
以上例程的输出类似于:
Array ( [libxml] => Required [domxml] => Conflicts )