blob: 9758022225ffc10a36ef815ecefbca8fdaac1ff0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
Bug #44995 (bcpowmod() fails if scale != 0)
--SKIPIF--
<?php
if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
?>
--FILE--
<?php
var_dump(bcpowmod('4', '4', '3', 1));
var_dump(bcpowmod('3234', '32345', '22345', 1));
?>
--EXPECT--
string(3) "1.0"
string(7) "17334.0"
|