diff options
Diffstat (limited to 'ext/gmp/gmp.c')
-rw-r--r-- | ext/gmp/gmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gmp/gmp.c b/ext/gmp/gmp.c index 300e33b7af..44c8154cf0 100644 --- a/ext/gmp/gmp.c +++ b/ext/gmp/gmp.c @@ -746,7 +746,7 @@ ZEND_FUNCTION(gmp_init) return; } - if (base && (base < 2 || base > 36)) { + if (base && (base < 2 || base > 62)) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Bad base for conversion: %ld (should be between 2 and 36)", base); RETURN_FALSE; } |