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.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/tests/math/round_basic.phpt b/ext/standard/tests/math/round_basic.phpt
index 72ab13fc3e..1d9d6bf8d5 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,
@@ -33,7 +33,7 @@ $precision = array(2,
"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===