diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2015-06-04 00:30:49 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-06-08 09:40:05 +0200 |
commit | 03399721f41fd6410769dfeb388b4b9e244b0a95 (patch) | |
tree | 4aa185a93b5ef460d8883f1afd0552543e6d720d /ext/libxml | |
parent | 5fed10e109d3dd42cc42e8d21ddc6a3c2c9c4ef7 (diff) | |
download | php-git-03399721f41fd6410769dfeb388b4b9e244b0a95.tar.gz |
added SKIPIF conditional to check for DOM availability
Diffstat (limited to 'ext/libxml')
-rw-r--r-- | ext/libxml/tests/bug69753.phpt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/libxml/tests/bug69753.phpt b/ext/libxml/tests/bug69753.phpt index 693e0247a2..6fbe1f85d3 100644 --- a/ext/libxml/tests/bug69753.phpt +++ b/ext/libxml/tests/bug69753.phpt @@ -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 |