1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00
Files
archived-php-src/ext/standard/tests/strings/bug77608.phpt
Nikita Popov 8e34de4756 Fixed bug #77608
Remove special handling of doubles and escape them as usual instead.
2019-02-12 10:49:20 +01:00

12 lines
192 B
PHP

--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