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