09-14-2008, 01:04 PM
|
#8 (permalink)
|
|
The Frequenter
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
|
Quote:
Originally Posted by Yoosha
Xenon: You can use strlen.
No i can't use that. This is for String, not Integer.
StringLength no IntegerLength!
Test this:
$X= 8766435322364545664565464654676;
echo(strlen($X));
|
Its because the number is higher than PHP_INT_MAX, you need to cast it to a string like the others said before it will work :)
__________________
|
|
|