1. Run normally on the personal notebook and Sina server, and this problem will occur when the company is running.
, the company is php5.6 and 64-bit operating system
2. The code is as follows:
3. The normal result is:
4. Abnormal results:
5. What is the reason, is the PHP version of the problem, or the operating system, or other?
Reply content:
1. Run normally on the personal notebook and Sina server, and this problem will occur when the company is running.
, the company is php5.6 and 64-bit operating system
2. The code is as follows:
3. The normal result is:
4. Abnormal results:
5. What is the reason, is the PHP version of the problem, or the operating system, or other?
http://php.net/manual/zh/language.types.integer.php
如果给定的一个数超出了 integer 的范围,将会被解释为 float。同样如果执行的运算结果超出了 integer 范围,也会返回 float。
You can try it first PHP_INT_MAX
, there is no difference between your machine and the size of the service
Dare not 3,721 to solve this problem, is the final result uniform turn string