bcpow_variation001.phpt 141 B

123456789101112
  1. --TEST--
  2. bcpow() with a negative exponent
  3. --EXTENSIONS--
  4. bcmath
  5. --INI--
  6. bcmath.scale=0
  7. --FILE--
  8. <?php
  9. echo bcpow("2", "-4");
  10. ?>
  11. --EXPECT--
  12. 0