summaryrefslogtreecommitdiff
path: root/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt')
-rw-r--r--ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt b/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt
index 9df7591003..52d1341ae5 100644
--- a/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt
+++ b/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt
@@ -1,5 +1,7 @@
--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);