When I use hexdec() function, it will return float value for large number.
Ex:
$a = hexdec("10111213");
=> output: int(269554195)
$a = hexdec("1011121314151617");
=> output: float(1.1577264523615E+18)
my php version : 7.3.14
In my local environment, it works fine.
when I use in live server with more than 8 digits, it will return in float value.
what am i missing as it will return value with int for point 2?
due to exponential value, it will effect the further process.
are any changes needed in php.ini file?