]> granicus.if.org Git - php/commitdiff
- add skipif for dom
authorPierre Joye <pajoye@php.net>
Wed, 7 Sep 2011 08:12:08 +0000 (08:12 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 7 Sep 2011 08:12:08 +0000 (08:12 +0000)
ext/simplexml/tests/bug51615.phpt

index 75f6769ff7c1b6947593383651ae176a60a5af83..94c7b20c4de7d6821be2a07cdbbcf1eaca59c630 100644 (file)
@@ -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