mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
19 lines
378 B
PHP
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"
|
|
}
|