Check the PHP_INT_SIZE
constant. It’ll vary based on the size of the register (i.e. 32-bit vs 64-bit).
In 32-bit systems PHP_INT_SIZE
should be 4, for 64-bit it should be 8.
See http://php.net/manual/language.types.integer.php for more details.
More Related Contents:
- I want to make my password to contain lowercase, uppercase, 8 characters and a character
- php – Should I call exit() after calling Location: header?
- How can I update code that uses the deprecated each() function?
- json_encode() escaping forward slashes
- What is the “->” PHP operator called? [closed]
- How can I add a PHP page to WordPress?
- Laravel Check If Related Model Exists
- Sort and display directory list alphabetically using opendir() in php
- Explode a string to associative array without using loops? [duplicate]
- Fix Access denied for user ‘root’@’localhost’ for phpMyAdmin
- What does a successful MySQL DELETE return? How to check if DELETE was successful?
- Submitting JSON data via JQuery ajax.post to PHP
- Ajax push system
- PHP PDO and MySQLi [duplicate]
- PHP printed boolean value is empty, why?
- PHP foreach by reference causes weird glitch when going through array of objects
- why is $_REQUEST empty
- How to set cron job URL for CodeIgniter?
- Keep Duplicates while Using array_diff
- Error 1148 MySQL The used command is not allowed with this MySQL version
- Is there an equivalent for var_dump (PHP) in Javascript?
- How to define a Laravel route with a parameter that contains a slash character
- php/symfony/doctrine memory leak?
- is_null($x) vs $x === null in PHP [duplicate]
- Paypal SandBox IPN always returns INVALID
- Detect if cookies are enabled in PHP
- ErrorException : implode(): Passing glue string after array is deprecated. Swap the parameters
- Cannot figure out how to run a mysqli_multi_query and use the results from the last query
- refresh a part of webpage in php [closed]
- PHP add up two time variables