bcsqrt_variation001.phpt 131 B

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