Re: Bit-size of machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Shekar Iyer wrote:
> 
> In other words,  How do I find if the system on which
> PHP is running is 32-bit or 64-bit programmatically?
> 
echo 'This is a ', is_int(2147483647 + 1) ? 64 : 32 , ' bit box';

HTH
-- 
View this message in context: http://www.nabble.com/Bit-size-of-machine-tf3989360.html#a11329862
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux