(PHP 5 >= 5.1.3, PHP 7, PHP 8)
ReflectionExtension::getDependencies — 依存性を取得する
この関数にはパラメータはありません。
   依存する拡張モジュールをキー、そして
   Required、Optional
   あるいは Conflicts
   のいずれかを値とする連想配列を返します。
  
例1 ReflectionExtension::getDependencies() の例
<?php
$dom = new ReflectionExtension('dom');
print_r($dom->getDependencies());
?>上の例の出力は、 たとえば以下のようになります。
Array
(
    [libxml] => Required
    [domxml] => Conflicts
)
