php-src/ext/bcmath/tests/bug44995.phpt
Max Semenik 56f90492d6 Migrate skip checks to --EXTENSIONS--, p1
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.
2021-03-22 17:51:02 +01:00

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"