php-src/ext/reflection/tests/ReflectionExtension_getDependencies_basic.phpt
Nikita Popov 7485978339
Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

19 lines
378 B
PHP

--TEST--
ReflectionExtension::getDependencies() method on an extension with a required and conflicting dependency
--CREDITS--
Felix De Vliegher <felix.devliegher@gmail.com>
--EXTENSIONS--
dom
--FILE--
<?php
$dom = new ReflectionExtension('dom');
var_dump($dom->getDependencies());
?>
--EXPECTF--
array(2) {
["libxml"]=>
%s(8) "Required"
["domxml"]=>
%s(9) "Conflicts"
}