note 104975 deleted from function.getrandmax by thiago
| From: | thiago@php.net | Date: | Tue, 19 Jul 2011 17:58:05 +0000 |
| Subject: | note 104975 deleted from function.getrandmax by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181710@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
$ php -r "echo getrandmax();"
2147483647
The number 2,147,483,647 is the maximum value for a 32-bit signed integer in computing. It is
therefore the maximum value for variables declared as int in many programming languages running on
popular CPUs.