summaryrefslogtreecommitdiff
path: root/ext/standard/tests/math/round_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/math/round_basic.phpt')
-rw-r--r--ext/standard/tests/math/round_basic.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/tests/math/round_basic.phpt b/ext/standard/tests/math/round_basic.phpt
index d4b94ec056..94531ba017 100644
--- a/ext/standard/tests/math/round_basic.phpt
+++ b/ext/standard/tests/math/round_basic.phpt
@@ -19,9 +19,9 @@ $values = array(123456789,
-4.567E3,
0x234567,
067777777,
- "1.234567",
+ "1.234567",
"2.3456789e8");
-
+
$precision = array(2,
8,
0x3,
@@ -30,10 +30,10 @@ $precision = array(2,
"2",
"04",
"3.6",
- "2.1e1",
+ "2.1e1",
null,
true,
- false);
+ false);
for ($i = 0; $i < count($values); $i++) {
echo "round: $values[$i]\n";
@@ -41,7 +41,7 @@ for ($i = 0; $i < count($values); $i++) {
$res = round($values[$i], $precision[$j]);
echo "...with precision $precision[$j]-> ";
var_dump($res);
- }
+ }
}
?>
===Done===