diff options
Diffstat (limited to 'ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt')
| -rw-r--r-- | ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt b/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt new file mode 100644 index 0000000000..9df7591003 --- /dev/null +++ b/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt @@ -0,0 +1,9 @@ +--TEST-- +Testing getDocNamespaces() with invalid XML +--FILE-- +<?php +$xml = @new SimpleXMLElement("X",1); +var_dump($xml->getDocNamespaces()); +?> +--EXPECTF-- +bool(false) |
