summaryrefslogtreecommitdiff
path: root/ext/bcmath/tests/bcpowmod_error2.phpt
blob: e0a99637caf5fc4d509629943152c43b9eddebe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
bcpowmod — Raise an arbitrary precision number to another, reduced by a specified modulus
--CREDITS--
Antoni Torrents
antoni@solucionsinternet.com
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
--FILE--
<?php
echo bcpowmod('1', '2');
?>
--EXPECTF--
Warning: bcpowmod() expects at least 3 parameters, 2 given in %s.php on line %d