From: pickett at sumu dot org Operating system: PHP version: 4.3.7RC1 PHP Bug Type: *Math Functions Bug description: gmp_powm() can't use hexadecimal string modulo
Description: ------------ Fix for bug #27172 broke hexadecimal string modulos for gmp_powm(). Reproduce code: --------------- var_dump(gmp_powm("0x1", "0x1", "0x1")) Expected result: ---------------- resource(4) of type (GMP integer) Actual result: -------------- bool(false) -- Edit bug report at http://bugs.php.net/?id=28525&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28525&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28525&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28525&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28525&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28525&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28525&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28525&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28525&r=support Expected behavior: http://bugs.php.net/fix.php?id=28525&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28525&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28525&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28525&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28525&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28525&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28525&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28525&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28525&r=float