mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
56f90492d6
For rationale, see https://github.com/php/php-src/pull/6787 Extensions migrated in this part: * bcmath * bz2 * calendar * com_dotnet * ctype Closes GH-6797.
13 lines
227 B
PHP
13 lines
227 B
PHP
--TEST--
|
|
Bug #44995 (bcpowmod() fails if scale != 0)
|
|
--EXTENSIONS--
|
|
bcmath
|
|
--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"
|