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