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