summaryrefslogtreecommitdiff
path: root/ext/gmp/tests
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2014-02-06 09:38:50 +0100
committerBob Weinand <bobwei9@hotmail.com>2014-02-06 09:38:50 +0100
commit45d2df5f119d17804ccf6068cbe1132e118579b2 (patch)
treee3014245763e4290de480fad0b1142728314b965 /ext/gmp/tests
parentb33060af82c648bb3971de9d8fe67e52781cbd7a (diff)
parente5ded6e843fc43dde4b6c65405a1d3e2ae026eb4 (diff)
downloadphp-git-broken-5.6-20140206.tar.gz
Merge branch 'datibbaw/pow-operator' into PHP-5.6broken-5.6-20140206
Diffstat (limited to 'ext/gmp/tests')
-rw-r--r--ext/gmp/tests/overloading.phpt9
1 files changed, 8 insertions, 1 deletions
diff --git a/ext/gmp/tests/overloading.phpt b/ext/gmp/tests/overloading.phpt
index 18e0bb2aa9..0d8f5cfedb 100644
--- a/ext/gmp/tests/overloading.phpt
+++ b/ext/gmp/tests/overloading.phpt
@@ -83,6 +83,10 @@ var_dump(--$a);
var_dump($a--);
var_dump($a);
+$x = gmp_init(3);
+$y = gmp_init(2);
+var_dump($x ** $y);
+
?>
--EXPECTF--
object(GMP)#%d (1) {
@@ -256,4 +260,7 @@ object(GMP)#%d (1) {
["num"]=>
string(2) "42"
}
-
+object(GMP)#%d (1) {
+ ["num"]=>
+ string(1) "9"
+}