summaryrefslogtreecommitdiff
path: root/ext/simplexml
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-09-06 07:09:56 (GMT)
committerPierre Joye <pajoye@php.net>2011-09-06 07:09:56 (GMT)
commit9d33b167af360086b84e77fc2855d4f420862acc (patch)
treeeb9844a3efdbfbd54dc65e1562ff18fc7801d861 /ext/simplexml
parent24f71e30cb2dfd485a6a89bb956d578207c13ffb (diff)
downloadphp-9d33b167af360086b84e77fc2855d4f420862acc.tar.gz
- add skipif
Diffstat (limited to 'ext/simplexml')
-rw-r--r--ext/simplexml/tests/bug37076.phpt2
-rw-r--r--ext/simplexml/tests/bug37076_1.phpt2
2 files changed, 4 insertions, 0 deletions
diff --git a/ext/simplexml/tests/bug37076.phpt b/ext/simplexml/tests/bug37076.phpt
index a5b3801..c7f19b3 100644
--- a/ext/simplexml/tests/bug37076.phpt
+++ b/ext/simplexml/tests/bug37076.phpt
@@ -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>");
diff --git a/ext/simplexml/tests/bug37076_1.phpt b/ext/simplexml/tests/bug37076_1.phpt
index d226004..d4f4e03 100644
--- a/ext/simplexml/tests/bug37076_1.phpt
+++ b/ext/simplexml/tests/bug37076_1.phpt
@@ -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>");