diff options
Diffstat (limited to 'ext/standard/tests/math/hypot_basic.phpt')
-rw-r--r-- | ext/standard/tests/math/hypot_basic.phpt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/standard/tests/math/hypot_basic.phpt b/ext/standard/tests/math/hypot_basic.phpt index c280a23bb2..107d3e40de 100644 --- a/ext/standard/tests/math/hypot_basic.phpt +++ b/ext/standard/tests/math/hypot_basic.phpt @@ -20,12 +20,12 @@ $valuesy = array(23, 027, "23", "23.45", - "2.345e1", - "23abc", + "2.345e1", + "23abc", null, true, false); - + $valuesx = array(33, -33, 3.345e1, @@ -35,17 +35,17 @@ $valuesx = array(33, "33", "43.45", "1.345e1", - "33abc", + "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=== |