Can anyone tell me why echo intVal($_REQUEST["CustID"]) where $_REQUEST["CustID"] value is 62013300111,
produces 62013300111 on one php Server but on another it produces 2147483647.
I cannot find any logical reason.
regards
Steve
Can anyone tell me why echo intVal($_REQUEST["CustID"]) where $_REQUEST["CustID"] value is 62013300111,
produces 62013300111 on one php Server but on another it produces 2147483647.
I cannot find any logical reason.
regards
Steve
from http://php.net/manual/en/function.intval.php
The maximum value depends on the system. 32 bit systems have a maximum signed integer range of -2147483648 to 2147483647.
Thanks for that, I thought I was going crazy and spent hours trying to figure out why.
I need to make a few changes now that I have changed hosts.
regards
Steve
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.