summaryrefslogtreecommitdiff
path: root/ext/simplexml/tests/007.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/simplexml/tests/007.phpt')
-rwxr-xr-xext/simplexml/tests/007.phpt9
1 files changed, 7 insertions, 2 deletions
diff --git a/ext/simplexml/tests/007.phpt b/ext/simplexml/tests/007.phpt
index b55d32496..51d7a847f 100755
--- a/ext/simplexml/tests/007.phpt
+++ b/ext/simplexml/tests/007.phpt
@@ -1,5 +1,5 @@
--TEST--
-SimpleXML and attributes
+SimpleXML: Attributes
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--FILE--
@@ -48,7 +48,12 @@ var_dump($a);
===Done===
--EXPECTF--
===Property===
-object(SimpleXMLElement)#%d (2) {
+object(SimpleXMLElement)#%d (3) {
+ ["@attributes"]=>
+ array(1) {
+ ["attr1"]=>
+ string(5) "first"
+ }
["comment"]=>
object(SimpleXMLElement)#%d (0) {
}