summaryrefslogtreecommitdiff
path: root/ext/standard/tests/math/hypot_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/math/hypot_basic.phpt')
-rw-r--r--ext/standard/tests/math/hypot_basic.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/tests/math/hypot_basic.phpt b/ext/standard/tests/math/hypot_basic.phpt
index c280a23bb2..c47aabcd8a 100644
--- a/ext/standard/tests/math/hypot_basic.phpt
+++ b/ext/standard/tests/math/hypot_basic.phpt
@@ -25,7 +25,7 @@ $valuesy = array(23,
null,
true,
false);
-
+
$valuesx = array(33,
-33,
3.345e1,
@@ -38,14 +38,14 @@ $valuesx = array(33,
"33abc",
null,
true,
- false);
+ false);
for ($i = 0; $i < count($valuesy); $i++) {
- for ($j = 0; $j < count($valuesx); $j++) {
+ for ($j = 0; $j < count($valuesx); $j++) {
echo "\nY:$valuesy[$i] X:$valuesx[$j] ";
$res = hypot($valuesy[$i], $valuesx[$j]);
var_dump($res);
- }
+ }
}
?>
===Done===