Re: http arrays
| From: | Chad Daelhousen | Date: | Fri, 27 Apr 2007 13:41:45 +0000 |
| Subject: | Re: http arrays | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29073@lists.php.net to get a copy of this message | ||
Jochem Maas wrote:
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.It's in the changelog for 5.1.3: * Fixed bug #36656 (http_build_query generates invalid URIs due to use of square brackets). (Mike) It works as expected for me in 5.1.6, using URL-encoding rather than HTML-entities. (5.1.3 is badly broken anyway -- that's why 5.1.4 was released so soon after.) So there's no bug that I can see. -- Chad Daelhousen I've been programming for about 15 years, but it's only in the last couple that I've come to a real understanding of it all.