]> granicus.if.org Git - php/commitdiff
fix tests
authorRob Richards <rrichards@php.net>
Fri, 8 Dec 2006 17:55:58 +0000 (17:55 +0000)
committerRob Richards <rrichards@php.net>
Fri, 8 Dec 2006 17:55:58 +0000 (17:55 +0000)
ext/simplexml/tests/027.phpt
ext/simplexml/tests/bug35785.phpt

index f32786c7cc296d642e54cc5004f3ca0cf252cd1f..105f9906680d1b0a9d9e1af16cdea4123edd5187 100755 (executable)
@@ -71,4 +71,5 @@ Warning: main(): Cannot add element person number 3 when only 2 such elements ex
   </person>
 </people>
 
-Fatal error: Objects used as arrays in post/pre increment/decrement must return values by reference in %s027.php on line %d
+Notice: Indirect modification of overloaded element of SimpleXMLElement has no effect in %s027.php on line %d
+===DONE===
index 096ab7a681d5ddf1bac3472f13a634032bd348fd..4156a7c9f3246e5df6f5defe9a66b9dadc0aa3b3 100755 (executable)
@@ -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===