blob: 2a7b8db5e5074751efa98beeb0157147b6f5711a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--TEST--
bcscale() with negative argument
--SKIPIF--
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
--INI--
bcmath.scale=0
--FILE--
<?php
bcscale(-4);
echo bcdiv("20.56", "4");
?>
--EXPECTF--
5
|