$x = '37965190010';
$y = (int) $x;
var_dump($x);
var_dump($y);
The above will output
string '37965190010'
int 2147483647
Why does the casting not work?
$x = '37965190010';
$y = (int) $x;
var_dump($x);
var_dump($y);
The above will output
string '37965190010'
int 2147483647
Why does the casting not work?