summaryrefslogtreecommitdiff
path: root/ext/standard/tests/math/pow_basic.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-02-03 22:52:20 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-02-03 22:52:20 +0100
commitf8d795820e780a6322e054c26c581570613c14f0 (patch)
tree99d3ae01ce564752807341c5743863b4c92513f8 /ext/standard/tests/math/pow_basic.phpt
parentd2cb200e10ada6fa44c54a29292bb4665728fff0 (diff)
downloadphp-git-f8d795820e780a6322e054c26c581570613c14f0.tar.gz
Reindent phpt files
Diffstat (limited to 'ext/standard/tests/math/pow_basic.phpt')
-rw-r--r--ext/standard/tests/math/pow_basic.phpt40
1 files changed, 20 insertions, 20 deletions
diff --git a/ext/standard/tests/math/pow_basic.phpt b/ext/standard/tests/math/pow_basic.phpt
index e23dac3fb4..bc594b27c6 100644
--- a/ext/standard/tests/math/pow_basic.phpt
+++ b/ext/standard/tests/math/pow_basic.phpt
@@ -9,18 +9,18 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only");
--FILE--
<?php
$bases = array(23,
- -23,
- 23.1,
- -23.1,
- 2.345e1,
- -2.345e1,
- 0x17,
- 027,
- "23",
- "23.45",
- "2.345e1",
- PHP_INT_MAX,
- -PHP_INT_MAX - 1);
+ -23,
+ 23.1,
+ -23.1,
+ 2.345e1,
+ -2.345e1,
+ 0x17,
+ 027,
+ "23",
+ "23.45",
+ "2.345e1",
+ PHP_INT_MAX,
+ -PHP_INT_MAX - 1);
$exponents = array(0,
1,
@@ -34,16 +34,16 @@ $exponents = array(0,
500,
-500,
2147483647,
- -2147483648);
+ -2147483648);
foreach($bases as $base) {
- echo "\n\nBase = $base";
- foreach($exponents as $exponent) {
- echo "\n..... Exponent = $exponent Result = ";
- $res = pow($base, $exponent);
- echo $res;
- }
- echo "\n\n";
+ echo "\n\nBase = $base";
+ foreach($exponents as $exponent) {
+ echo "\n..... Exponent = $exponent Result = ";
+ $res = pow($base, $exponent);
+ echo $res;
+ }
+ echo "\n\n";
}
?>
--EXPECT--