summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug77608.phpt
blob: 77bfb74a8723b4df7a867aeef81f6223181961f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
--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