> Le 24 juil. 2019 à 00:52, Stanislav Malyshev <smalys...@gmail.com> a écrit :
> 
> Hi!
> 
>> My preferred solution would be to add a new built-in function that
>> re-does the mangling exactly as it used to be done. It would be no great
>> maintenance burden on us to maintain such a function for the future, but
>> it would avoids userland having to reimplement it multiple times and
>> less performantly or perhaps with bugs.
> 
> That looks like good idea. If we mention it in UPGRADING, that should
> make it easier to migrate for people that for one reason or another
> still rely on the old ways.
> One use cause affected may be image buttons (if anyone still uses them?)
> since there usage of .x and .y is standard.
> -- 
> Stas Malyshev
> smalys...@gmail.com <mailto:smalys...@gmail.com>

An alternative way to deal with either mangled or unmangled key names is: 
($_GET["foo.x"] ?? $_GET["foo_x"])

—Claude

Reply via email to