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