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.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to