mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
12 lines
249 B
Plaintext
12 lines
249 B
Plaintext
|
--TEST--
|
||
|
bcsqrt() incorrect argument count
|
||
|
--SKIPIF--
|
||
|
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
|
||
|
--INI--
|
||
|
bcmath.scale=0
|
||
|
--FILE--
|
||
|
<?php
|
||
|
echo bcsqrt();
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Warning: bcsqrt() expects at least 1 parameter, 0 given in %s on line %d
|