Re: [Discussion] Dots and spaces in GPC variable names

From: Date: Tue, 02 May 2017 20:08:18 +0000
Subject: Re: [Discussion] Dots and spaces in GPC variable names
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-98945@lists.php.net to get a copy of this message
Hey Andrey, Andrey Andreev wrote:
I'm not surprised by the suggestion for targeting 8.0, but perhaps we could think of a way to conditionally disable the mangling in 7.x and then remove it entirely in 8? I hate to say INI directives, but that's surely one way for a smoother transition.
Another approach I'd previously thought of was to keep in memory whatever information would be needed to undo the mangling process for the superglobals, and provide a function which would undo it. Then in 8.x it could become a no-op. That wouldn't really help for parse_str, though. But for that function it could just be a flag. Thanks for bringing this up again! -- Andrea Faulds https://ajf.me/

« previous php.internals (#98945) next »