Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- Bug #77608: http_build_query doesn't encode "+" in a float number --FILE-- <?php ..
Decoded Output download
--TEST--
Bug #77608: http_build_query doesn't encode "+" in a float number
--FILE--
<?php
$a = ["x" => 1E+14, "y" => "1E+14"];
echo http_build_query($a);
?>
--EXPECT--
x=1.0E%2B14&y=1E%2B14
Did this file decode correctly?
Original Code
--TEST--
Bug #77608: http_build_query doesn't encode "+" in a float number
--FILE--
<?php
$a = ["x" => 1E+14, "y" => "1E+14"];
echo http_build_query($a);
?>
--EXPECT--
x=1.0E%2B14&y=1E%2B14
Function Calls
None |
Stats
MD5 | 3f08e40273fed868960f75722fa834ff |
Eval Count | 0 |
Decode Time | 88 ms |