only run this test if SimpleXML is loaded

This commit is contained in:
krakjoe 2014-08-21 09:08:28 +01:00
parent 92ac625b94
commit b83e45e1ef

View file

@ -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