diff options
| author | Rob Richards <rrichards@php.net> | 2006-12-08 17:55:58 +0000 |
|---|---|---|
| committer | Rob Richards <rrichards@php.net> | 2006-12-08 17:55:58 +0000 |
| commit | 4991dba418e4ce92a2d25f832b23b6d07e8ed584 (patch) | |
| tree | 2a4ccbf3e6990166d1bbed458dbdb613f9281e5c /ext/simplexml | |
| parent | db7dad0ba0fbb4428be3477b1ce670d3acb82b6e (diff) | |
| download | php-git-4991dba418e4ce92a2d25f832b23b6d07e8ed584.tar.gz | |
fix tests
Diffstat (limited to 'ext/simplexml')
| -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=== |
