]> granicus.if.org Git - php/commitdiff
this test depends on the simplexml ext, not just on xml
authorFerenc Kovacs <tyrael@php.net>
Sat, 23 Aug 2014 22:08:09 +0000 (00:08 +0200)
committerFerenc Kovacs <tyrael@php.net>
Sat, 23 Aug 2014 22:08:09 +0000 (00:08 +0200)
ext/simplexml/tests/bug62328.phpt [moved from ext/xml/tests/bug62328.phpt with 86% similarity]

similarity index 86%
rename from ext/xml/tests/bug62328.phpt
rename to ext/simplexml/tests/bug62328.phpt
index e4c3c59d37e48b9660dba8d1600975a5fd6d2952..a6e60e488c5546e7916707a1bec7d768bbd9120f 100644 (file)
@@ -1,9 +1,7 @@
 --TEST--
 Bug #62328 (implementing __toString and a cast to string fails)
 --SKIPIF--
-<?php
-require_once("skipif.inc");
-?>
+<?php if (!extension_loaded("simplexml")) print "skip"; ?>
 --FILE--
 <?php
 class UberSimpleXML extends SimpleXMLElement {