php-src/ext/bcmath/tests/bcpowmod_error1.phpt
2012-10-10 10:27:49 +08:00

14 lines
354 B
PHP

--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');
?>
--EXPECTF--
Warning: bcpowmod() expects at least 3 parameters, 1 given in %s.php on line %d