--TEST-- BcMath\Number powmod() with scale --EXTENSIONS-- bcmath --FILE-- powmod($exponent, $mod, $scale); if ($method_ret->compare($func_ret) !== 0) { echo "Result is incorrect.\n"; var_dump($value, $exponent, $mod, $scale, $func_ret, $method_ret); } } } } } echo 'done!'; ?> --EXPECT-- done!