bcpow_error3.phpt 247 B

123456789101112
  1. --TEST--
  2. bcpow() incorrect argument count
  3. --SKIPIF--
  4. <?php if(!extension_loaded("bcmath")) print "skip"; ?>
  5. --INI--
  6. bcmath.scale=0
  7. --FILE--
  8. <?php
  9. echo bcpow();
  10. ?>
  11. --EXPECTF--
  12. Warning: bcpow() expects at least 2 parameters, 0 given in %s on line %d