1--TEST--
2bcscale() return value
3--SKIPIF--
4<?php if(!extension_loaded("bcmath")) print "skip"; ?>
5--INI--
6bcmath.scale=0
7--FILE--
8<?php
9var_dump(bcscale(1));
10var_dump(bcscale(4));
11var_dump(bcscale());
12var_dump(bcscale());
13?>
14--EXPECT--
15int(0)
16int(1)
17int(4)
18int(4)
19