1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 08:58:28 +02:00
Files
archived-php-src/ext/standard/tests/math/pow-operator.phpt
T
Máté Kocsis 7aacc705d0 Add many missing closing PHP tags to tests
Closes GH-5958
2020-08-09 22:03:36 +02:00

23 lines
373 B
PHP

--TEST--
Various pow() tests
--FILE--
<?php
$x = 2;
$x **= 3;
$tests = <<<TESTS
-3 ** 2 === -9
(-3) **2 === 9
2 ** 3 ** 2 === 512
(2 ** 3) ** 2 === 64
$x === 8
TESTS;
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