mirror of
https://github.com/php/php-src.git
synced 2024-10-17 22:42:38 +00:00
12 lines
250 B
Plaintext
12 lines
250 B
Plaintext
|
--TEST--
|
||
|
bcsqrt — Get the square root of an arbitrary precision number
|
||
|
--CREDITS--
|
||
|
Antoni Torrents
|
||
|
antoni@solucionsinternet.com
|
||
|
--FILE--
|
||
|
<?php
|
||
|
echo bcsqrt('-9');
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Warning: bcsqrt(): Square root of negative number in %s.php on line %d
|