1
0
mirror of https://github.com/php/php-src.git synced 2026-04-08 08:33:06 +02:00
Files
archived-php-src/ext/bcmath/tests/bcscale_variation001.phpt
2010-03-08 15:16:51 +00:00

13 lines
201 B
PHP

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