xref: /PHP-5.5/ext/bcmath/tests/bcmul.phpt (revision b02dd10e)
1--TEST--
2bcmul() function
3--SKIPIF--
4<?php if(!extension_loaded("bcmath")) print "skip"; ?>
5--INI--
6bcmath.scale=0
7--FILE--
8<?php
9echo bcmul("1", "2"),"\n";
10echo bcmul("-3", "5"),"\n";
11echo bcmul("1234567890", "9876543210"),"\n";
12echo bcmul("2.5", "1.5", 2),"\n";
13?>
14--EXPECT--
152
16-15
1712193263111263526900
183.75
19