register globals -> PHP6 still replaces . in variables from outside
| From: | Sebastian | Date: | Sun, 24 Feb 2008 20:05:31 +0000 |
| Subject: | register globals -> PHP6 still replaces . in variables from outside | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-35774@lists.php.net to get a copy of this message | ||
hi,
PHP6 still replaces "." with an underscore in variables from outside. this
is an old behavior forced by register globals so i would say its a bug since
"." is valid in array keys.
for sample:
call a script like http://www.example.com/?my.var=1
now $_GET will look like this:
Array ( [my_var] => 1)
Thanks