Bug #15732: gmp_init fails to create gmp resource
| From: | joho at webbplatsen dot se | Date: | Tue, 26 Feb 2002 15:35:11 +0000 |
| Subject: | Bug #15732: gmp_init fails to create gmp resource | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-1083@lists.php.net to get a copy of this message | ||
From: joho@webbplatsen.se
Operating system: Linux 2.4
PHP version: 4.1.1
PHP Bug Type: *Math Functions
Bug description: gmp_init fails to create gmp resource
I cannot get gmp_init() to return a valid resource when used as follows:
$foodoo = md5 ("1234");
$gmpres = gmp_init ("0x" . $foodoo);
This is with GMP 4.x (I just downloaded the latest source and re-built it
and PHP).
I have reported this for PHP 4.1.0 as well. But that bug was apparently
removed/closed due to insufficient feedback.
I cannot duplicate this bug in PHP 4.0.6.
--
Edit bug report at http://bugs.php.net/?id=15732&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15732&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15732&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15732&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15732&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15732&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15732&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15732&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15732&r=submittedtwice