I am reading a csv file and my code is reading the numeric value as a string. But i need the value as integer.
e.g. string '5782492380'
as int '5782492380'
Is there any best way to change the type of value from string to int in php code?
I have tried as
(int) 5782492380
but it is changing the original value to 2147483647
.