1--TEST--
2Testing getDocNamespaces() with invalid XML
3--SKIPIF--
4<?php if (!extension_loaded('simplexml')) die('skip simplexml extension not loaded'); ?>
5--FILE--
6<?php
7$xml = @new SimpleXMLElement("X",1);
8var_dump($xml->getDocNamespaces());
9?>
10--EXPECT--
11bool(false)
12