bug44995.phpt 227 B

123456789101112
  1. --TEST--
  2. Bug #44995 (bcpowmod() fails if scale != 0)
  3. --EXTENSIONS--
  4. bcmath
  5. --FILE--
  6. <?php
  7. var_dump(bcpowmod('4', '4', '3', 1));
  8. var_dump(bcpowmod('3234', '32345', '22345', 1));
  9. ?>
  10. --EXPECT--
  11. string(3) "1.0"
  12. string(7) "17334.0"