Home > Article > Backend Development > The difference between mysql int value range and php intval_PHP tutorial
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.