bcsqrt_variation001.phpt 175 B

123456789101112
  1. --TEST--
  2. bcsqrt() with argument of 0
  3. --SKIPIF--
  4. <?php if(!extension_loaded("bcmath")) print "skip"; ?>
  5. --INI--
  6. bcmath.scale=0
  7. --FILE--
  8. <?php
  9. echo bcsqrt("0");
  10. ?>
  11. --EXPECTF--
  12. 0