diff options
-rwxr-xr-x | ext/simplexml/tests/027.phpt | 3 | ||||
-rwxr-xr-x | ext/simplexml/tests/bug35785.phpt | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ext/simplexml/tests/027.phpt b/ext/simplexml/tests/027.phpt index f32786c7cc..105f990668 100755 --- a/ext/simplexml/tests/027.phpt +++ b/ext/simplexml/tests/027.phpt @@ -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=== diff --git a/ext/simplexml/tests/bug35785.phpt b/ext/simplexml/tests/bug35785.phpt index 096ab7a681..4156a7c9f3 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=== |