Re: $_GET['a.b.c']

From: Date: Tue, 13 Jan 2009 12:09:40 +0000
Subject: Re: $_GET['a.b.c']
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-42600@lists.php.net to get a copy of this message
On Tue, 13 Jan 2009, Stefan Walk wrote: > On 13 Jan 2009, at 11:36, David Zülke wrote: > > > Am 13.01.2009 um 11:09 schrieb Alexey Zakhlestin: > > > > > On Tue, Jan 13, 2009 at 12:32 PM, troels knak-nielsen > > > <troelskn@gmail.com> wrote: > > > > In a recent mail, some kind of issue regarding queryparams was > > > > mentioned (Possibly related to namespaces). Could anybody explain what > > > > the issue is, or point to where it's discussed? > > > > > > Currently, php replaces dots in paramter-names with underscores. This > > > is a legacy of register_globals. > > > > Sure? "foo|bar", "foo-bar" etc. don't get the same treatment... > > Yes, but those are chosen knowing the consequences - for <input type="image" > name="foo" ...>, you get foo.x and foo.y from the browser, and those aren't > accessible via register_globals. Sure they are, through foo_x and foo_y. regards, Derick -- http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org twitter: derickrethans

« previous php.internals (#42600) next »