diff options
author | krakjoe <joe.watkins@live.co.uk> | 2014-08-21 09:08:28 +0100 |
---|---|---|
committer | krakjoe <joe.watkins@live.co.uk> | 2014-08-21 09:08:28 +0100 |
commit | b83e45e1ef0d7d0838335fc2400529ea0d42077d (patch) | |
tree | 8b05ad39618d8a09c2e06c42f2103f6a775e397e | |
parent | 92ac625b94e3dc79a0c9def934c61d83397afe81 (diff) | |
download | php-git-b83e45e1ef0d7d0838335fc2400529ea0d42077d.tar.gz |
only run this test if SimpleXML is loaded
-rw-r--r-- | ext/xml/tests/bug62328.phpt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/xml/tests/bug62328.phpt b/ext/xml/tests/bug62328.phpt index e4c3c59d37..c59a4aac0c 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 |