mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
An always enabled lexbor extension is added, containing the lexbor library that was separated from ext/dom extension in preparation of https://wiki.php.net/rfc/url_parsing_api. While at it, the lexbor library is upgraded to 2.5.0. Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Co-authored-by: Gina Peter Banyard <girgias@php.net>
20 lines
313 B
PHP
20 lines
313 B
PHP
--TEST--
|
|
ReflectionExtension::getDependencies()
|
|
--EXTENSIONS--
|
|
dom
|
|
--FILE--
|
|
<?php
|
|
$ext = new ReflectionExtension("dom");
|
|
$deps = $ext->getDependencies();
|
|
var_dump($deps);
|
|
?>
|
|
--EXPECT--
|
|
array(3) {
|
|
["libxml"]=>
|
|
string(8) "Required"
|
|
["lexbor"]=>
|
|
string(8) "Required"
|
|
["domxml"]=>
|
|
string(9) "Conflicts"
|
|
}
|