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

From: Date: Tue, 24 Nov 2009 13:35:07 +0000
Subject: #50283 [Opn->Tbd]: allow base in gmp_strval to use full range: 2 to 62, and -2 to -36
References: 1  Groups: php.bugs php.doc.bugs 
Request: Send a blank email to php-bugs+get-145021@lists.php.net to get a copy of this message
 ID:               50283
 Updated by:       dsp@php.net
 Reported By:      asphp at dsgml dot com
-Status:           Open
+Status:           To be documented
 Bug Type:         Feature/Change Request
 Operating System: Linux
 PHP Version:      5.2.11
 New Comment:

The documentation states that base has to be between 2 and 36. We have
to correct this, as we now allow -2 to -36 aswell.


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

[2009-11-24 13:33:36] svn@php.net

Automatic comment from SVN on behalf of dsp
Revision: http://svn.php.net/viewvc/?view=revision&revision=291262
Log: Implement feature request #50283 (allow base in gmp_strval to use
full range: 2 to 62, and -2 to -36)

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

[2009-11-24 11:31:47] asphp at dsgml dot com

And for input as well of course.

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

[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 (#145021) next »