xref: /php-src/ext/bcmath/tests/bug44995.phpt (revision 56f90492)
1--TEST--
2Bug #44995 (bcpowmod() fails if scale != 0)
3--EXTENSIONS--
4bcmath
5--FILE--
6<?php
7var_dump(bcpowmod('4', '4', '3', 1));
8var_dump(bcpowmod('3234', '32345', '22345', 1));
9?>
10--EXPECT--
11string(3) "1.0"
12string(7) "17334.0"
13