ReflectionExtension::getConstants
ReflectionExtension::getFunctions
ReflectionExtension
PHP Manual

# ReflectionExtension::getDependencies

(PHP 5)

ReflectionExtension::getDependencies — Gets dependencies

### 説明

public array ReflectionExtension::getDependencies ( void )

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.

### 例

例1 ReflectionExtension::getDependencies example

`<?php
$dom = new ReflectionExtension('dom');
print_r($dom->getDependencies());
?>`

上の例の出力は、 たとえば以下のようになります。

    Array
    (
        [libxml] => Required
        [domxml] => Conflicts
    )

### 参考

- ReflectionClass::getVersion

ReflectionExtension::getConstants
ReflectionExtension::getFunctions
ReflectionExtension
PHP Manual