Test: /tests/classes/tostring_004.phpt - Version 8.0.0-dev    

There are 7 different diffs reported by users for this test.

Count Diff
63 (53%)
007+ Error: 8 - You have to implement the __concat function in class stdClass to use this operator with an object! 017+ Error: 8 - You have to implement the __concat function in class badToString to use this operator with an object!
18 (15%)
007+ Error: 8 - You have to implement the __concat function in class stdClass to use this operator with an object 017+ Error: 8 - You have to implement the __concat function in class badToString to use this operator with an object
10 (8%)
003+ printf() expects parameter 1 to be string, object given
003- Object of class stdClass could not be converted to string
9 (8%)
012+ Return value of badToString::__toString() must be of type mixed, array returned 012- Return value of badToString::__toString() must be of type string, array returned 016+ Return value of badToString::__toString() must be of type mixed, array returned 016- Return value of badToString::__toString() must be of type string, array returned
6 (5%)
012+ Return value of badToString::__toString() must be of type string, array returned 012- Return value of badToString::__toString() must be of the type string, array returned 016+ Return value of badToString::__toString() must be of type string, array returned 016- Return value of badToString::__toString() must be of the type string, array returned
6 (5%)
003+ printf() expects argument #1 ($format) to be of type string, object given 003- printf() expects argument #1 to be of type string, object given
6 (5%)
003+ Argument 1 passed to printf() must be of type string, object given
003- printf() expects parameter 1 to be string, object given