bcscale_variation001.phpt   [plain text]


--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