ID:               40009
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bugs dot php dot net at chsc dot dk
-Status:           Open
+Status:           Closed
 Bug Type:         URL related
 Operating System: Windows
 PHP Version:      5.2.0
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2007-01-03 11:24:21] bugs dot php dot net at chsc dot dk

Description:
------------
http_build_query(array()) returns NULL. According to the documentation,
the return type of http_build_query is string.

This can be considered a documentation problem, but I think it would be
better to change the function so that it always returns a string.

Reproduce code:
---------------
./php.exe -r "echo gettype(http_build_query(array()));"



Expected result:
----------------
string


Actual result:
--------------
NULL


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40009&edit=1

Reply via email to