com php-src: only run this test if SimpleXML is loaded: ext/xml/tests/bug62328.phpt

From: Date: Thu, 21 Aug 2014 08:08:28 +0000
Subject: com php-src: only run this test if SimpleXML is loaded: ext/xml/tests/bug62328.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-80665@lists.php.net to get a copy of this message
Commit: b83e45e1ef0d7d0838335fc2400529ea0d42077d Author: krakjoe <joe.watkins@live.co.uk> Thu, 21 Aug 2014 09:08:28 +0100 Parents: 92ac625b94e3dc79a0c9def934c61d83397afe81 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b83e45e1ef0d7d0838335fc2400529ea0d42077d Log: only run this test if SimpleXML is loaded Changed paths: M ext/xml/tests/bug62328.phpt Diff: diff --git a/ext/xml/tests/bug62328.phpt b/ext/xml/tests/bug62328.phpt index e4c3c59..c59a4aa 100644 --- a/ext/xml/tests/bug62328.phpt +++ b/ext/xml/tests/bug62328.phpt @@ -3,6 +3,8 @@ Bug #62328 (implementing __toString and a cast to string fails) --SKIPIF-- <?php require_once("skipif.inc"); +if (!extension_loaded("SimpleXML")) + die("skip: SimpleXML extension not available"); ?> --FILE-- <?php

« previous php.cvs (#80665) next »