xref: /PHP-5.6/ext/bcmath/tests/bcsqrt_error2.phpt (revision d42fd45f)
1--TEST--
2bcsqrt() incorrect argument count
3--SKIPIF--
4<?php if(!extension_loaded("bcmath")) print "skip"; ?>
5--INI--
6bcmath.scale=0
7--FILE--
8<?php
9echo bcsqrt();
10?>
11--EXPECTF--
12Warning: bcsqrt() expects at least 1 parameter, 0 given in %s on line %d