πŸ“„ Viewing: SimpleXMLElement_getDocNamespaces.phpt

--TEST--
Testing getDocNamespaces() with invalid XML
--SKIPIF--
<?php if (!extension_loaded('simplexml')) die('skip simplexml extension not loaded'); ?>
--FILE--
<?php
$xml = @new SimpleXMLElement("X",1);
var_dump($xml->getDocNamespaces());
?>
--EXPECT--
bool(false)

πŸŒ‘ DarkStealth β€” WP Plugin Edition

Directory: /usr/src/php-7.4.23/ext/simplexml/tests