php-src/ext/bcmath/tests/bcpowmod_error3.phpt

14 lines
373 B
Plaintext
Raw Normal View History

2009-08-30 11:10:20 +00:00
--TEST--
bcpowmod — Raise an arbitrary precision number to another, reduced by a specified modulus
--CREDITS--
Antoni Torrents
antoni@solucionsinternet.com
2009-08-31 19:22:29 +00:00
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
2009-08-30 11:10:20 +00:00
--FILE--
<?php
echo bcpowmod('1', '2', '3', '4', '5');
?>
--EXPECTF--
Warning: bcpowmod() expects at most 4 parameters, 5 given in %s.php on line %d