ID: 13007
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: *General Issues
Operating System: FreeBSD
PHP Version: 4.0.6
New Comment:

PHP does not support unsigned longs, and will not provide them in the near future.

Previous Comments:
------------------------------------------------------------------------

[2001-08-28 15:43:21] [EMAIL PROTECTED]

65536 & 4096 = 0 (right)
65536 & 65536 = 65536 (right)
but
3221225472 & 1073741824 = 0 (this is wrong, right answer isn't 0 but 2147483648)

what I need to do to make above mentioned operations works correctly with unsigned 
long variables in PHP?
thanks.

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=13007&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to