Stop replacing dots with underscores in query, post and cookie parameters for PHP 8?

From: Date: Tue, 16 Jul 2019 01:39:49 +0000
Subject: Stop replacing dots with underscores in query, post and cookie parameters for PHP 8?
Groups: php.internals 
Request: Send a blank email to internals+get-106213@lists.php.net to get a copy of this message
Hi, PHP replaces dots with underscores for $_GET, $_POST and $_COOKIE. This behavior once made sense because of Register globals. The explanation in the manual also still implies that query and post parameters are converted to variables (see https://php.net/manual/en/language.variables.external.php#language.variables.external.dot-in-names). Register globals has been removed since 5.4.0 and thus this behavior serves little purpose. I think it would be good to remove the conversion in PHP 8, as it's a general cause of confusion and annoyance for anyone who comes across it. Is there a good reason to keep this behavior in PHP 8? Yours, Arnold [Arnold Daniels - Chat @ Spike](https://www.spikenow.com/?ref=spike-organic-signature&_ts=2oznd) [2oznd]

« previous php.internals (#106213) next »