summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-09-07 08:12:08 +0000
committerPierre Joye <pajoye@php.net>2011-09-07 08:12:08 +0000
commit1a166b2100b55cfce545c729a319bf671c2bf09e (patch)
tree32506ed01acbeaa66e11f1f6ef38b49b50501131
parent4bb816605a605d3274baeede9e38f1f6e91f49e7 (diff)
downloadphp-git-1a166b2100b55cfce545c729a319bf671c2bf09e.tar.gz
- add skipif for dom
-rw-r--r--ext/simplexml/tests/bug51615.phpt4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/simplexml/tests/bug51615.phpt b/ext/simplexml/tests/bug51615.phpt
index 75f6769ff7..94c7b20c4d 100644
--- a/ext/simplexml/tests/bug51615.phpt
+++ b/ext/simplexml/tests/bug51615.phpt
@@ -1,7 +1,9 @@
--TEST--
Bug #51615 (PHP crash with wrong HTML in SimpleXML)
--SKIPIF--
-<?php if (!extension_loaded("simplexml")) print "skip"; ?>
+<?php if (!extension_loaded("simplexml")) print "skip";
+ if (!extension_loaded("dom")) print "skip";
+?>
--FILE--
<?php