diff --git a/reference/math/functions/bindec.xml b/reference/math/functions/bindec.xml index 054ff84698..500482e314 100644 --- a/reference/math/functions/bindec.xml +++ b/reference/math/functions/bindec.xml @@ -1,5 +1,5 @@ - + @@ -9,7 +9,7 @@ Description - intbindec + numberbindec stringbinary_string @@ -20,6 +20,8 @@ bindec converts a binary number to an integer. The largest number that can be converted is 31 bits of 1's or 2147483647 in decimal. + Since PHP 4.1.0, this function can convert also higher numbers and returns + float in that case. diff --git a/reference/math/functions/dechex.xml b/reference/math/functions/dechex.xml index 9b4cb01968..cddf881f8d 100644 --- a/reference/math/functions/dechex.xml +++ b/reference/math/functions/dechex.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ Returns a string containing a hexadecimal representation of the given number argument. The largest number that can - be converted is 2147483647 in decimal resulting to "7fffffff". + be converted is 4294967295 in decimal resulting to "ffffffff". diff --git a/reference/math/functions/decoct.xml b/reference/math/functions/decoct.xml index 3ec67f6d7b..24aa932185 100644 --- a/reference/math/functions/decoct.xml +++ b/reference/math/functions/decoct.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ Returns a string containing an octal representation of the given number argument. The largest number that can be converted is - 2147483647 in decimal resulting to "17777777777". + 4294967295 in decimal resulting to "37777777777". diff --git a/reference/math/functions/hexdec.xml b/reference/math/functions/hexdec.xml index 57b3a0a657..d285accbdf 100644 --- a/reference/math/functions/hexdec.xml +++ b/reference/math/functions/hexdec.xml @@ -1,5 +1,5 @@ - + @@ -9,7 +9,7 @@ Description - inthexdec + numberhexdec stringhex_string @@ -18,6 +18,8 @@ hexdec converts a hexadecimal string to a decimal number. The largest number that can be converted is 7fffffff or 2147483647 in decimal. + Since PHP 4.1.0, this function can convert also higher numbers and returns + float in that case. hexdec will ignore any non-hexadecimal diff --git a/reference/math/functions/octdec.xml b/reference/math/functions/octdec.xml index 39117ab815..11ecdc395b 100644 --- a/reference/math/functions/octdec.xml +++ b/reference/math/functions/octdec.xml @@ -1,5 +1,5 @@ - + @@ -9,7 +9,7 @@ Description - intoctdec + numberoctdec stringoctal_string @@ -17,6 +17,8 @@ represented by the octal_string argument. The largest number that can be converted is 17777777777 or 2147483647 in decimal. + Since PHP 4.1.0, this function can convert also higher numbers and returns + float in that case.