1--TEST--
2Testing getDocNamespaces() with invalid XML
3--EXTENSIONS--
4simplexml
5--FILE--
6<?php
7$xml = @new SimpleXMLElement("X",1);
8var_dump($xml->getDocNamespaces());
9?>
10--EXPECT--
11bool(false)
12