diff options
Diffstat (limited to 'tests/classes')
| -rw-r--r-- | tests/classes/tostring_001.phpt | 2 | ||||
| -rw-r--r-- | tests/classes/tostring_004.phpt | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/classes/tostring_001.phpt b/tests/classes/tostring_001.phpt index 62791bf84e..abf41f97cd 100644 --- a/tests/classes/tostring_001.phpt +++ b/tests/classes/tostring_001.phpt @@ -131,5 +131,5 @@ Converted object(test3)#2 (0) { } test3::__toString() -Return value of test3::__toString() must be of type string, array returned +test3::__toString(): Return value must be of type string, array returned ====DONE==== diff --git a/tests/classes/tostring_004.phpt b/tests/classes/tostring_004.phpt index e07a7b2121..48ac2770dd 100644 --- a/tests/classes/tostring_004.phpt +++ b/tests/classes/tostring_004.phpt @@ -53,7 +53,7 @@ try { --EXPECT-- Object with no __toString(): Try 1: -printf(): Argument #1 ($format) must be of type string, object given +printf(): Argument #1 ($format) must be of type string, stdClass given Try 2: @@ -62,8 +62,8 @@ Object of class stdClass could not be converted to string Object with bad __toString(): Try 1: -Return value of badToString::__toString() must be of type string, array returned +badToString::__toString(): Return value must be of type string, array returned Try 2: -Return value of badToString::__toString() must be of type string, array returned +badToString::__toString(): Return value must be of type string, array returned |
