mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
only run this test if SimpleXML is loaded
This commit is contained in:
parent
92ac625b94
commit
b83e45e1ef
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue