ID: 50283 Updated by: [email protected] 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] [email protected] 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
