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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php