#50283 [Opn]: allow base in gmp_strval to use full range: 2 to 62, and -2 to -36

From: Date: Tue, 24 Nov 2009 11:31:47 +0000
Subject: #50283 [Opn]: allow base in gmp_strval to use full range: 2 to 62, and -2 to -36
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-145013@lists.php.net to get a copy of this message
 ID:               50283
 User updated by:  asphp at dsgml dot com
 Reported By:      asphp at dsgml dot com
 Status:           Open
 Bug Type:         GNU MP related
 Operating System: Linux
 PHP Version:      5.2.11
 New Comment:

And for input as well of course.


Previous Comments:
------------------------------------------------------------------------

[2009-11-24 11:29:58] asphp at dsgml dot com

Description:
------------
According to http://gmplib.org/manual/Converting-Integers.html
gmp_strval should be able to use a base range of 2 to 62, and -2 to
-36.

However php enforces the base to be between 2 and 36. Please allow the
full range.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=50283&edit=1



Thread (7 messages)

« previous php.bugs (#145013) next »