summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionExtension_getDependencies_basic.phpt
blob: 8b5293a48f5033ce5a9d12790be48f8ce399271a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--TEST--
ReflectionExtension::getDependencies() method on an extension with a required and conflicting dependency
--CREDITS--
Felix De Vliegher <felix.devliegher@gmail.com>
--SKIPIF--
<?php
if (!extension_loaded("dom")) die("skip no dom extension");
?>
--FILE--
<?php
$dom = new ReflectionExtension('dom');
var_dump($dom->getDependencies());
?>
==DONE==
--EXPECTF--
array(2) {
  ["libxml"]=>
  %s(8) "Required"
  ["domxml"]=>
  %s(9) "Conflicts"
}
==DONE==