ID:               32352
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mm at elec dot ru
-Status:           Open
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: FreeBSD
 PHP Version:      4.3.10
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Even if you think it is not a bug, we often know better than you,
please consult the support channels first before even considering
to reopen this report.

Thank you for your interest in PHP.

You are out of the integer range. Check the php manual.


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

[2005-03-17 13:45:17] mm at elec dot ru

Description:
------------
Operation " 9000 << 18 " return incorrect result => "-1935671296"

Reproduce code:
---------------
$userid - get unsigned value from DB
$userid = 8000;
$base = $userid << 18;

Expected result:
----------------
-1935671296

Actual result:
--------------
2359296000


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


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

Reply via email to