downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ReflectionExtension::getFunctions> <ReflectionExtension::getConstants
[edit] Last updated: Fri, 25 May 2012

view this page in

ReflectionExtension::getDependencies

(PHP 5)

ReflectionExtension::getDependencies依存性を取得する

説明

public array ReflectionExtension::getDependencies ( void )

必須の依存性、衝突する依存性の両方を取得します。

パラメータ

この関数にはパラメータはありません。

返り値

依存する拡張モジュールをキー、そして RequiredOptional あるいは Conflicts のいずれかを値とする連想配列を返します。

例1 ReflectionExtension::getDependencies() の例

<?php
$dom 
= new ReflectionExtension('dom');

print_r($dom->getDependencies());
?>

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

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

参考

  • ReflectionClass::getVersion()



add a note add a note User Contributed Notes ReflectionExtension::getDependencies
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites