From 4991dba418e4ce92a2d25f832b23b6d07e8ed584 Mon Sep 17 00:00:00 2001 From: Rob Richards Date: Fri, 8 Dec 2006 17:55:58 +0000 Subject: [PATCH] fix tests --- ext/simplexml/tests/027.phpt | 3 ++- 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 f32786c7cc2..105f9906680 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 -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 096ab7a681d..4156a7c9f32 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 + + +===DONE===