#26819 [Opn->Csd]: http_build_query() crashes on NULL output
| From: | iliaa@php.net | Date: | Tue, 06 Jan 2004 20:02:34 +0000 |
| Subject: | #26819 [Opn->Csd]: http_build_query() crashes on NULL output | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-52871@lists.php.net to get a copy of this message | ||
ID: 26819
Updated by: iliaa@php.net
Reported By: ilia at prohost dot org
-Status: Open
+Status: Closed
Bug Type: Reproducible crash
Operating System: Any
PHP Version: 5CVS-2004-01-06 (dev)
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:
------------------------------------------------------------------------
[2004-01-06 14:58:50] ilia at prohost dot org
Description:
------------
When there is nothing to output http_build_query() crashes.
Reproduce code:
---------------
-r ' $a = array(); var_dump(http_build_query($a)); '
Expected result:
----------------
Actual result:
--------------
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26819&edit=1