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