Hi
The next ;-)
Manual for bindec()
*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.*
bindec() can handle much bigger values, see the example below.
Manual for decbin():
*Returns a string containing a binary
Cornelia Boenigk wrote:
> *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.*
> bindec() can handle much bigger values, see the example below.
You are right. Since PHP 4.1.0 bindec returns float instead of long