summaryrefslogtreecommitdiff
path: root/ext/simplexml/tests/bug35785.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/simplexml/tests/bug35785.phpt')
-rwxr-xr-xext/simplexml/tests/bug35785.phpt7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/simplexml/tests/bug35785.phpt b/ext/simplexml/tests/bug35785.phpt
index 096ab7a68..4156a7c9f 100755
--- a/ext/simplexml/tests/bug35785.phpt
+++ b/ext/simplexml/tests/bug35785.phpt
@@ -25,4 +25,9 @@ echo $xml->asXML();
===FAIL===
int(0)
-Fatal error: Objects used as arrays in post/pre increment/decrement must return values by reference in %sbug35785.php on line %d
+Notice: Indirect modification of overloaded element of SimpleXMLElement has no effect in %sbug35785.php on line %d
+
+Strict Standards: Creating default object from empty value in %sbug35785.php on line %d
+<?xml version="1.0"?>
+<root><bla><posts/></bla></root>
+===DONE===