Re: http arrays

From: Date: Fri, 27 Apr 2007 13:13:43 +0000
Subject: Re: http arrays
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-29071@lists.php.net to get a copy of this message
Jochem Maas wrote: > $args = array('foo' => array('bar' => array(1,2,3), 'quz' > => array(1,2,3))); > echo '/foo.php?'.http_build_query($args); > > > foo.php --- 8< --- > > var_dump($_GET['foo']); > > > the var_dump() output used to be a neat nested array, but since 5.1.3 [although I remember > it as 5.1.6] http_build_query() makes htmlentities of the square brackets so therefore > the var_dump() gives you a string. Works as expected here with v5.2 Regards, -- Michael

« previous php.internals (#29071) next »