1--TEST--
2Bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
3--SKIPIF--
4<?php
5if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
6if (substr(PHP_OS, 0, 3) != 'WIN') {
7    die('skip valid only for windows');
8}
9$cur = PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD;
10$req = "10.0.17134";
11if (version_compare($cur, $req) >= 0) {
12	echo "skip Only for Windows systems < $req";
13}
14?>
15--FILE--
16<?php
17var_dump(bcpowmod('4.1', '4', '3', 3));
18var_dump(bcpowmod('4', '4', '3.1', 3));
19?>
20===DONE===
21--EXPECTF--
22%Astring(5) "1.000"
23%Astring(5) "1.000"
24===DONE===%A
25