summaryrefslogtreecommitdiff
path: root/ext/simplexml/tests/bug46048.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/simplexml/tests/bug46048.phpt')
-rw-r--r--ext/simplexml/tests/bug46048.phpt6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/simplexml/tests/bug46048.phpt b/ext/simplexml/tests/bug46048.phpt
index e3eb4f546..97fc9ed08 100644
--- a/ext/simplexml/tests/bug46048.phpt
+++ b/ext/simplexml/tests/bug46048.phpt
@@ -1,5 +1,7 @@
--TEST--
Bug #46048 (SimpleXML top-level @attributes not part of iterator)
+--SKIPIF--
+<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--FILE--
<?php
$xml = '
@@ -9,8 +11,8 @@ $xml = '
';
$obj = simplexml_load_string($xml);
print_r(get_object_vars($obj));
-echo "Done\n";
?>
+===DONE===
--EXPECT--
Array
(
@@ -21,4 +23,4 @@ Array
[key] => value
)
-Done
+===DONE===