]> granicus.if.org Git - php/commitdiff
added SKIPIF conditional to check for DOM availability
authorChristoph M. Becker <cmbecker69@gmx.de>
Wed, 3 Jun 2015 22:30:49 +0000 (00:30 +0200)
committerAnatol Belski <ab@php.net>
Mon, 8 Jun 2015 07:40:05 +0000 (09:40 +0200)
ext/libxml/tests/bug69753.phpt

index 693e0247a2a67b73dca0107a6f3a1483986b8f25..6fbe1f85d3bde308041b4ecda63f682024a611eb 100644 (file)
@@ -5,6 +5,7 @@ Awaiting upstream fix: https://bugzilla.gnome.org/show_bug.cgi?id=750365
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms only");
+if (!extension_loaded('dom')) die('skip dom extension not available');
 ?>
 --FILE--
 <?php