[PHP-DOC] bindec/decbin

2004-02-26 Thread Cornelia Boenigk
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

Re: [PHP-DOC] bindec/decbin

2004-02-26 Thread Jakub Vrana
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