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

search for in the

ReflectionExtension::getFunctions> <ReflectionExtension::getConstants
[edit] Last updated: Fri, 17 May 2013

view this page in

ReflectionExtension::getDependencies

(PHP 5)

ReflectionExtension::getDependenciesGets dependencies

Descrição

public array ReflectionExtension::getDependencies ( void )

Gets dependencies, by listing both required and conflicting dependencies.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

An associative array with dependencies as keys and either Required, Optional or Conflicts as the values.

Exemplos

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
)

Veja Também

  • ReflectionClass::getVersion()



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

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