Native 64-bit integers require 64-bit hardware AND the 64-bit version of PHP.
On 32-bit hardware:
$ php -r 'echo PHP_INT_MAX;'
2147483647
On 64-bit hardware:
$ php -r 'echo PHP_INT_MAX;'
9223372036854775807
More Related Contents:
- php , I want to build array from 12 values each value has max number of 2048
- Extract a single (unsigned) integer from a string
- What’s the maximum value for an int in PHP?
- Convert a comma-delimited string into array of integers?
- Converting an integer to a string in PHP
- Converting a number (1, 2, 3) to a string (one, two, three) in PHP
- Strange behaviour with numbers that have a leading zero [duplicate]
- Long integer is transformed when inserted in shorter column, not truncated. Why? What is the formula?
- Get last whole number in a string
- strcmp equivelant for integers (intcmp) in PHP
- Function To Create Regex Matching a Number Range
- Convert a big integer to a full string in PHP
- PHP create new array by value
- Get first and second element of array [duplicate]
- Symfony 3, Guard & Handlers
- How to sort user data by id
- How do the PHP equality (== double equals) and identity (=== triple equals) comparison operators differ?
- PHP: Return all dates between two dates in an array [duplicate]
- Configure WAMP server to send email
- Round up to nearest multiple of five in PHP
- Fetching single row, single column with PDO
- Single quotes or double quotes for variable concatenation? [closed]
- Multiple image upload with CodeIgniter
- Will enabling XDebug on a production server make PHP slower?
- “No such file or directory” or “No such host is known” when running migrations
- Search and replace multiple values with multiple/different values in PHP5?
- keeping url parameters during pagination
- How to call a closure that is a class variable?
- How can I set a cookie and then redirect in PHP?
- How to use MySQL Found_Rows() in PHP?