flaupretre
changed the title
Improve arra to string conversion
Improve array to string conversion
You should take into consideration that most PHP applications do not check whether variables received in $_GET, $_POST and $_COOKIE are not arrays. The framework I use handles this validation for me but most people are not so lucky.
Contributor
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".
Contributor Author
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.
cmb69
mentioned this pull request
Closed