bcpowmod_error3.phpt 373 B

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