I have been browsing through other "wrong int conversion" problems but I haven't found any posts related to mine.
I am converting a 10 char string (e.g '9052000000', '9056699999' ) to to type int, but I keep on getting the value 2147483647
my code looks something like this: $min = '9052000000'; $min = (int) $min;
Hope someone can help. Thanks!