Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29071 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63280 invoked by uid 1010); 27 Apr 2007 13:13:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63265 invoked from network); 27 Apr 2007 13:13:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Apr 2007 13:13:33 -0000 X-Host-Fingerprint: 80.123.98.46 unknown Received: from [80.123.98.46] ([80.123.98.46:25067] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/D6-29041-CF6F1364 for ; Fri, 27 Apr 2007 09:13:33 -0400 Message-ID: To: internals@lists.php.net Date: Fri, 27 Apr 2007 15:13:43 +0200 User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 References: <4631EE17.20400@gmx.net> <4631EFA1.4040507@zend.com> <4631F2BC.9070405@iamjochem.com> In-Reply-To: <4631F2BC.9070405@iamjochem.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Posted-By: 80.123.98.46 Subject: Re: [PHP-DEV] http arrays From: mike@php.net (Michael Wallner) 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