Last 5.3 release ever available: PHP 5.3.29 - 5.3 now EOL

ReflectionExtension::getDependencies

(PHP 5)

ReflectionExtension::getDependenciesGets dependencies

Descrierea

public array ReflectionExtension::getDependencies ( void )

Gets dependencies, by listing both required and conflicting dependencies.

Parametri

Această funcție nu are parametri.

Valorile întoarse

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

Exemple

Example #1 ReflectionExtension::getDependencies() example

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

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

Exemplul de mai sus va afișa ceva similar cu:

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

Vedeți de asemenea

  • ReflectionClass::getVersion()

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top