summaryrefslogtreecommitdiff
path: root/ext/bcmath/tests/bcsub_error1.phpt
blob: 1600652ac18b12597b3a76e09d508f850ee0c05c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
bcsub() incorrect argument count
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
--INI--
bcmath.scale=0
--FILE--
<?php
echo bcsub();
?>
--EXPECTF--
Warning: bcsub() expects at least 2 parameters, 0 given in %s on line %d