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.



Recommended Answers


The maximum value depends on the system. 32 bit systems have a maximum signed integer range of -2147483648 to 2147483647.

Jump to Post

All 2 Replies

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.



Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.