Re: [PHP-DEV] Stop replacing dots with underscores in query, post andcookie parameters for PHP 8?

2019-07-19 Thread Andrea Faulds
Hi all, Rasmus Schultz wrote: What about libraries that need to support both PHP 7 and 8? Many libraries will likely need to, potentially for a long time. How will these libraries be able to detect whether the names have been mangled or not? Libraries that "unmangle" run the risk of "unmanglin

Re: [PHP-DEV] Stop replacing dots with underscores in query, post and cookie parameters for PHP 8?

2019-07-19 Thread Lauri Kenttä
On 2019-07-16 04:39, Arnold Daniels wrote: PHP replaces dots with underscores for $_GET, $_POST and $_COOKIE. Is there a good reason to keep this behavior in PHP 8? There's a BC break that should be noted: produces i.x=1&i.y=2 Since the dots can't be changed with HTML, this would then requi