Improve array to string conversion#991
Conversation
|
Seems like a terrible idea to me. |
|
Thanks for you return, but a little too short… |
|
You should take into consideration that most PHP applications do not check whether variables received in |
|
I think an error makes sense for array to string conversion. But concatenation is just a non-sense. Even worse behavior than simply returning "Array". |
|
Updated the RFC, removing my previous opinion because the only thing I'm sure now, is that we should find a better solution than the current one. |
5fb85bc to
e98d266
Compare
7f49636 to
e92c810
Compare
|
@flaupretre What about fixing tests? |
e92c810 to
114bf95
Compare
|
This RFC is withdrawn because the subject is far from mature and requires much more thoughts. Potential BC breaks also make it a candidate for a major release only. |
For details, please refer to the RFC : https://wiki.php.net/rfc/array-to-string