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
Jump to Postfrom 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.
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, learning, and sharing knowledge.
You're trying to visit a URL that doesn't currently exist on the web. Most likely, a member posted a link a long time ago to a web page that has since been removed. It's also possible that there was a typo when posting the URL. We redirect you to this notice instead of stripping out the link to preserve the integrity of the post.