1--TEST--
2Various pow() tests
3--FILE--
4<?php // $Id$
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(dirname(__FILE__) . '/../../../../tests/quicktester.inc');
19
20--EXPECT--
21On failure, please mail result to php-dev@lists.php.net
22OK
23