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

Reply via email to