array_change_key_case(): Throw ValueError on invalid argument#15883
array_change_key_case(): Throw ValueError on invalid argument#15883Girgias wants to merge 1 commit intophp:masterfrom
Conversation
cmb69
left a comment
There was a problem hiding this comment.
Thank you! Looks good. Also nice to get of the contrived test cases.
|
Do we need RFC for such changes? I have similar PR in #15647 |
|
I don't think such changes require an RFC (maybe in theory, but barely practical). Given #16641, we may consider to be more conservative, and deprecate passing anything but |
|
I think we should maybe put a general RFC how to deal with this. My preference is really to go through deprecations. I don't think we need to do RFC for each case but having some agreement (e.g. or possibly a single RFC) would be good. |
|
Btw. if we agree that deprecations are better for those case, I don't think we need RFC. |
|
Those should be warnings not deprecations if we are not turning them into ValueErrors. |
|
I would turn them into |
5636b64 to
8355060
Compare
This should be merged after 8.4 has been cut.