1--TEST-- 2Bug 72093: bcpowmod accepts negative scale and corrupts _one_ definition 3--SKIPIF-- 4<?php if(!extension_loaded("bcmath")) print "skip"; ?> 5--FILE-- 6<?php 7var_dump(bcpowmod(1, "A", 128, -200)); 8var_dump(bcpowmod(1, 1.2, 1, 1)); 9?> 10--EXPECTF-- 11string(1) "1" 12bc math warning: non-zero scale in exponent 13string(3) "0.0" 14