ID:               30695
 Updated by:       [EMAIL PROTECTED]
 Reported By:      php_bug at cklowe dot com
 Status:           Closed
 Bug Type:         Math related
 Operating System: Win32
 PHP Version:      4CVS-2004-11-05 (stable)
 Assigned To:      derick
 New Comment:

It has already been merged into both the 5.0 and 5.1 branches.


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

[2004-11-30 03:22:09] php_bug at cklowe dot com

Brilliant stuff.  I'm really glad this is fixed.

It would appear that this bug also affects version 
5.0.2.

$big_var = 0x40000000;
echo sprintf("%08x, %08x", $big_var * 2, $big_var << 1);
----- gives ----
7fffffff, 80000000

which is OK if not entirely consistent with most other 
languages.  

But there is still no way to represent bit patterns with 
the high bit set, which is a pity.

I believe your fix or an equivalent should go onto the 5 
branch, too.  
What do you think?

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

[2004-11-29 10:40:16] [EMAIL PROTECTED]

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.



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

[2004-11-29 09:55:42] [EMAIL PROTECTED]

I'm on it now.

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

[2004-11-26 13:53:18] [EMAIL PROTECTED]

I don't have Zend commit access.

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

[2004-11-26 13:46:54] [EMAIL PROTECTED]

gcc bugfix seems to be creating more trouble that its worth. please
revert it before we release 4.3.10.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/30695

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

Reply via email to