1--TEST--
2Various pow() tests
3--FILE--
4<?php
5
6$x = 2;
7$x **= 3;
8
9$tests = <<<TESTS
10 -3 ** 2 === -9
11 (-3) **2 === 9
12 2 ** 3 ** 2 === 512
13 (2 ** 3) ** 2 === 64
14 $x === 8
15TESTS;
16
17 echo "On failure, please mail result to php-dev@lists.php.net\n";
18 include(__DIR__ . '/../../../../tests/quicktester.inc');
19--EXPECT--
20On failure, please mail result to php-dev@lists.php.net
21OK
22