diff options
Diffstat (limited to 'tests/classes/tostring_001.phpt')
| -rw-r--r-- | tests/classes/tostring_001.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/classes/tostring_001.phpt b/tests/classes/tostring_001.phpt index 3053da9140..62791bf84e 100644 --- a/tests/classes/tostring_001.phpt +++ b/tests/classes/tostring_001.phpt @@ -21,7 +21,7 @@ class test3 function __toString() { echo __METHOD__ . "()\n"; - return 42; + return []; } } echo "====test1====\n"; @@ -131,5 +131,5 @@ Converted object(test3)#2 (0) { } test3::__toString() -Method test3::__toString() must return a string value +Return value of test3::__toString() must be of type string, array returned ====DONE==== |
