Home >Backend Development >PHP Tutorial >Does My PHP Installation Support 64-Bit Integers?
Determining 64-Bit Integer Support in PHP
Querying the PHP configuration files often yields little insight into the availability of 64-bit integers. Instead, the platform on which PHP is compiled and the underlying hardware play a crucial role.
Native 64-Bit Integer Support
For native support of 64-bit integers, both the following conditions must be met:
Verifying 64-Bit Integer Support
Executing the following PHP script on different platforms can confirm the availability of 64-bit integers:
<?php echo PHP_INT_MAX . PHP_EOL;
The above is the detailed content of Does My PHP Installation Support 64-Bit Integers?. For more information, please follow other related articles on the PHP Chinese website!