From 34fe6dd1e05db8026bf4c2c9cef2706dbf2efb14 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Fri, 19 Feb 2010 07:55:13 +0000 Subject: [PATCH] Fixed bug #50942 (gmp_strval() only allows base 2 to 36) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295245 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/gmp/functions/gmp-init.xml | 19 ++++++++++++++++++- reference/gmp/functions/gmp-strval.xml | 12 +++++++++++- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/reference/gmp/functions/gmp-init.xml b/reference/gmp/functions/gmp-init.xml index 5486dbcaca..891fa4b8aa 100644 --- a/reference/gmp/functions/gmp-init.xml +++ b/reference/gmp/functions/gmp-init.xml @@ -69,10 +69,17 @@ + + 5.3.2 + + The base was extended from 2 to 36, to + 2 to 62 and -2 to -36. + + 4.1.0 - The optional base parameter was added. + The optional base parameter was added. @@ -81,6 +88,16 @@ + + &reftitle.notes; + + + To use the extended base introduced in PHP 5.3.2, then + PHP must be compiled against GMP 4.2.0 or greater. + + + + &reftitle.examples; diff --git a/reference/gmp/functions/gmp-strval.xml b/reference/gmp/functions/gmp-strval.xml index f09ed370eb..798292decc 100644 --- a/reference/gmp/functions/gmp-strval.xml +++ b/reference/gmp/functions/gmp-strval.xml @@ -65,7 +65,7 @@ - 5.2.12 and 5.3.2 + 5.3.2 The base was extended from 2 to 36, to 2 to 62 and -2 to -36. @@ -77,6 +77,16 @@ + + &reftitle.notes; + + + To use the extended base introduced in PHP 5.3.2, then + PHP must be compiled against GMP 4.2.0 or greater. + + + + &reftitle.examples;