]> granicus.if.org Git - php/commitdiff
- add skipif
authorPierre Joye <pajoye@php.net>
Tue, 6 Sep 2011 07:09:56 +0000 (07:09 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 6 Sep 2011 07:09:56 +0000 (07:09 +0000)
ext/simplexml/tests/bug37076.phpt
ext/simplexml/tests/bug37076_1.phpt

index a5b3801ccb983e3df9b4afb8cd073830bd1cb957..c7f19b3cc2a3cf4bdd98aed299dd9390042482bf 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #37076 (SimpleXML ignores .=)
+--SKIPIF--
+<?php if (!extension_loaded("simplexml")) print "skip"; ?>
 --FILE--
 <?php
 $xml = simplexml_load_string("<root><foo /></root>");
index d2260040c14dd2df81e73d752a16ec3ade0a5f2d..d4f4e03337bfd9d2d8692f491e5e9a8c6a3a4410 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #37076 (SimpleXML ignores .=) (appending to unnamed attribute)
+--SKIPIF--
+<?php if (!extension_loaded("simplexml")) print "skip"; ?>
 --FILE--
 <?php
 $xml = simplexml_load_string("<root><foo /></root>");