ID: 49023
User updated by: thedazedsmart1 at yahoo dot ca
-Summary: linux 2.6.24-24-server
Reported By: thedazedsmart1 at yahoo dot ca
Status: Open
Bug Type: URL related
Operating System: Unbuntu
PHP Version: 5.2.10
New Comment:
Fixing summary
Previous Comments:
------------------------------------------------------------------------
[2009-07-22 22:21:10] thedazedsmart1 at yahoo dot ca
Description:
------------
http_build_query doesn't handle 64-bit integers even on 64-bit systems,
truncates to 12 digits only.
Reproduce code:
---------------
---
>From manual page: function.http-build-query
---
$args = array("test" => 100000012859481);
$output = http_build_query($args);
var_dump($output);
Expected result:
----------------
string(17) "test=100000012859481"
Actual result:
--------------
string(17) "test=100000012859"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49023&edit=1