xref: /PHP-5.5/ext/bcmath/tests/bcpow.phpt (revision b02dd10e)
1--TEST--
2bcpow() function
3--SKIPIF--
4<?php if(!extension_loaded("bcmath")) print "skip"; ?>
5--INI--
6bcmath.scale=0
7--FILE--
8<?php
9echo bcpow("1", "2"),"\n";
10echo bcpow("-2", "5", 4),"\n";
11echo bcpow("2", "64"),"\n";
12?>
13--EXPECT--
141
15-32
1618446744073709551616
17