xref: /PHP-7.4/ext/bcmath/tests/bug.66364.phpt (revision 870ed510)
1--TEST--
2Bug #66364 (BCMath bcmul ignores scale parameter)
3--SKIPIF--
4<?php
5if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
6?>
7--FILE--
8<?php
9var_dump(bcmul('0.3', '0.2', 4));
10?>
11===DONE===
12--EXPECT--
13string(6) "0.0600"
14===DONE===
15