com php-src: added SKIPIF conditional to check for DOM availability: ext/libxml/tests/bug69753.phpt

From: Date: Mon, 08 Jun 2015 07:40:05 +0000
Subject: com php-src: added SKIPIF conditional to check for DOM availability: ext/libxml/tests/bug69753.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87086@lists.php.net to get a copy of this message
Commit: 03399721f41fd6410769dfeb388b4b9e244b0a95 Author: Christoph M. Becker <cmbecker69@gmx.de> Thu, 4 Jun 2015 00:30:49 +0200 Committer: Anatol Belski <ab@php.net> Mon, 8 Jun 2015 09:40:05 +0200 Parents: 5fed10e109d3dd42cc42e8d21ddc6a3c2c9c4ef7 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=03399721f41fd6410769dfeb388b4b9e244b0a95 Log: added SKIPIF conditional to check for DOM availability Changed paths: M ext/libxml/tests/bug69753.phpt Diff: diff --git a/ext/libxml/tests/bug69753.phpt b/ext/libxml/tests/bug69753.phpt index 693e024..6fbe1f8 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

« previous php.cvs (#87086) next »