summaryrefslogtreecommitdiff
path: root/ext/simplexml/tests/016.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/simplexml/tests/016.phpt')
-rw-r--r--ext/simplexml/tests/016.phpt34
1 files changed, 26 insertions, 8 deletions
diff --git a/ext/simplexml/tests/016.phpt b/ext/simplexml/tests/016.phpt
index 9f88631222..ce197d4a63 100644
--- a/ext/simplexml/tests/016.phpt
+++ b/ext/simplexml/tests/016.phpt
@@ -26,14 +26,32 @@ var_dump($people->person[0]['name']);
$people->person[0]['name'] .= 'Bar';
var_dump($people->person[0]['name']);
-echo "---Done---\n";
?>
+===DONE===
--EXPECT--
-string(3) "Joe"
-string(6) "JoeFoo"
-string(9) "JoeFooBar"
+object(simplexml_element)#4 (1) {
+ [0]=>
+ string(3) "Joe"
+}
+object(simplexml_element)#2 (1) {
+ [0]=>
+ string(6) "JoeFoo"
+}
+object(simplexml_element)#5 (1) {
+ [0]=>
+ string(9) "JoeFooBar"
+}
---[0]---
-string(3) "Joe"
-string(6) "JoeFoo"
-string(9) "JoeFooBar"
----Done---
+object(simplexml_element)#3 (1) {
+ [0]=>
+ string(3) "Joe"
+}
+object(simplexml_element)#2 (1) {
+ [0]=>
+ string(6) "JoeFoo"
+}
+object(simplexml_element)#5 (1) {
+ [0]=>
+ string(9) "JoeFooBar"
+}
+===Done===