Re: Bit-size of machine
| From: | Jochem Maas | Date: | Wed, 27 Jun 2007 16:33:40 +0000 |
| Subject: | Re: Bit-size of machine | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257888@lists.php.net to get a copy of this message | ||
Stut wrote:
> Shekar Iyer wrote:
>> How can one find the bit-size of the system on which PHP
>> is running. php_uname() does not return bit type
>
> A bit is a bit is a bit. It's not a different size on different systems.
ho ho ho stut :-)
I think he's looking for the 'word' size of the CPU (32 bit, 64 bit)
you can find out by checking for the largest integer that is supported:
reading here should give you enough info, hopefully:
http://php.net/int
>
> -Stut
>