Home >Backend Development >PHP Tutorial >The difference between mysql int value range and php intval_PHP tutorial

The difference between mysql int value range and php intval_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:05:431077browse

php tutorial The value range of intval: related to the operating system, it is -2147483648 to 2147483647 on 32-bit systems, and -9223372036854775808 to 9223372036854775807 on 64-bit systems.
mysql tutorial int value range: independent of the operating system, from -2147483648 to 2147483647, unsigned from 0 to 4294967295.
The value range of mysql bigint: independent of the operating system, is -9223372036854775808 to 9223372036854775807, unsigned is 0 to 18446744073709551615.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/630768.htmlTechArticlephp tutorial The value range of intval: related to the operating system, on 32-bit systems it is -2147483648 to 2147483647, 64 On the system, it is -9223372036854775808 to 9223372036854775807. mysql tutorial int retrieval...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn