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