summaryrefslogtreecommitdiff
path: root/ext/standard/tests/math/pow-operator.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/math/pow-operator.phpt')
-rw-r--r--ext/standard/tests/math/pow-operator.phpt21
1 files changed, 10 insertions, 11 deletions
diff --git a/ext/standard/tests/math/pow-operator.phpt b/ext/standard/tests/math/pow-operator.phpt
index ad587dbb9b..88964509e7 100644
--- a/ext/standard/tests/math/pow-operator.phpt
+++ b/ext/standard/tests/math/pow-operator.phpt
@@ -6,17 +6,16 @@ Various pow() tests
$x = 2;
$x **= 3;
-$tests = <<<TESTS
- -3 ** 2 === -9
- (-3) **2 === 9
- 2 ** 3 ** 2 === 512
- (2 ** 3) ** 2 === 64
- $x === 8
-TESTS;
+var_dump( -3 ** 2 === -9);
+var_dump( (-3) **2 === 9);
+var_dump( 2 ** 3 ** 2 === 512);
+var_dump( (2 ** 3) ** 2 === 64);
+var_dump( $x === 8);
- echo "On failure, please mail result to php-dev@lists.php.net\n";
- include(__DIR__ . '/../../../../tests/quicktester.inc');
?>
--EXPECT--
-On failure, please mail result to php-dev@lists.php.net
-OK
+bool(true)
+bool(true)
+bool(true)
+bool(true)
+bool(true)