summaryrefslogtreecommitdiff
path: root/ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-02-03 02:33:09 -0200
committerChristoph M. Becker <cmbecker69@gmx.de>2018-02-03 13:54:34 +0100
commitc6c9e71a5b65aa96ad133f90d7f48b18cdc95788 (patch)
tree5e59fcb09fbe06f629ec571e865e33feeca75a21 /ext/simplexml/tests/SimpleXMLElement_getDocNamespaces.phpt
parenta0e5af70a73dd76d92bdf2e5e03ec13e9a7e43ef (diff)
downloadphp-git-c6c9e71a5b65aa96ad133f90d7f48b18cdc95788.tar.gz
Add missing SKIPIF sections
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);