(PHP 5, PHP 7)
ReflectionExtension::getDependencies — Gets dependencies
Gets dependencies, by listing both required and conflicting dependencies.
Esta função não possui parâmetros.
An associative array with dependencies as keys and either Required, Optional or Conflicts as the values.
Exemplo #1 ReflectionExtension::getDependencies() example
<?php
$dom = new ReflectionExtension('dom');
print_r($dom->getDependencies());
?>
O exemplo acima irá imprimir algo similar à:
Array ( [libxml] => Required [domxml] => Conflicts )