php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26819 http_build_query() crashes on NULL output
Submitted: 2004-01-06 14:58 UTC Modified: 2004-01-06 15:02 UTC
From: ilia at prohost dot org Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 5CVS-2004-01-06 (dev) OS: Any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ilia at prohost dot org
New email:
PHP Version: OS:

 

 [2004-01-06 14:58 UTC] 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:
--------------
 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-06 15:02 UTC] iliaa@php.net
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.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Feb 02 14:01:29 2025 UTC