summaryrefslogtreecommitdiff
path: root/ext/standard/tests/math/atan2_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/math/atan2_basic.phpt')
-rw-r--r--ext/standard/tests/math/atan2_basic.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/standard/tests/math/atan2_basic.phpt b/ext/standard/tests/math/atan2_basic.phpt
index 8312bb2890..f6dae62900 100644
--- a/ext/standard/tests/math/atan2_basic.phpt
+++ b/ext/standard/tests/math/atan2_basic.phpt
@@ -12,11 +12,11 @@ $valuesy = array(23,
027,
"23",
"23.45",
- "2.345e1",
+ "2.345e1",
null,
true,
false);
-
+
$valuesx = array(23,
-23,
2.345e1,
@@ -25,17 +25,17 @@ $valuesx = array(23,
027,
"23",
"23.45",
- "2.345e1",
+ "2.345e1",
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++) {
$res = atan2($valuesy[$i], $valuesx[$j]);
echo "Y:$valuesy[$i] X:$valuesx[$j] ";
var_dump($res);
- }
+ }
}
?>
--EXPECT--