xref: /PHP-5.4/ext/reflection/tests/016.phpt (revision 610c7fbe)
1--TEST--
2ReflectionExtension::getDependencies()
3--SKIPIF--
4<?php
5extension_loaded('reflection') or die('skip');
6if (!extension_loaded("xml")) {
7  die('skip xml extension not available');
8}
9?>
10--FILE--
11<?php
12$ext = new ReflectionExtension("xml");
13$deps = $ext->getDependencies();
14var_dump($deps);
15?>
16--EXPECT--
17array(1) {
18  ["libxml"]=>
19  string(8) "Required"
20}
21