Bug #15732 Updated: gmp_init fails to create gmp resource

From: Date: Tue, 26 Feb 2002 16:18:03 +0000
Subject: Bug #15732 Updated: gmp_init fails to create gmp resource
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1094@lists.php.net to get a copy of this message
ID: 15732 Updated by: sander@php.net Reported By: joho@webbplatsen.se -Status: Open +Status: Feedback Bug Type: *Math Functions Operating System: Linux 2.4 PHP Version: 4.1.1 New Comment: Works fine for me (using 3.x). Does it give a warning? What exactly does it return? (use var_dump to find out). Previous Comments: ------------------------------------------------------------------------ [2002-02-26 10:35:10] joho@webbplatsen.se 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 this bug report at http://bugs.php.net/?id=15732&edit=1

« previous php.bugs (#1094) next »