Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Richards committed Dec 8, 2006
1 parent db7dad0 commit 4991dba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ext/simplexml/tests/027.phpt
Expand Up @@ -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===
7 changes: 6 additions & 1 deletion ext/simplexml/tests/bug35785.phpt
Expand Up @@ -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===

0 comments on commit 4991dba

Please sign in to comment.