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

 ID:               51274
 Updated by:       tony2...@php.net
 Reported by:      cduncan at regatta dot com
 Summary:          Integer overflow does not cast as float
-Status:           Open
+Status:           Assigned
 Type:             Bug
 Package:          Scripting Engine problem
 Operating System: Linux
 PHP Version:      5.3.2
-Assigned To:      
+Assigned To:      aharvey



Previous Comments:
------------------------------------------------------------------------
[2010-04-13 16:42:21] cduncan at regatta dot com

I am now able to reproduce the problem, what extra information do you
require to debug?

------------------------------------------------------------------------
[2010-03-26 10:17:04] cduncan at regatta dot com

Thanks, I was worried I was going mad for a moment there.



Unfortunately I can't reproduce it on the machines I'm using at the
moment. The machine I was experiencing it on was a production box, so
finding time to reproduce it again could be tricky.



Once I am able to do so, what extra information would assist in tracking
this down?



Thanks

------------------------------------------------------------------------
[2010-03-26 09:24:56] ahar...@php.net

Oh, I see what you're getting at now. Sorry about that.



I still can't reproduce it, though.

------------------------------------------------------------------------
[2010-03-26 09:16:37] cduncan at regatta dot com

Sorry but I'm misunderstanding what you are telling me. Why is the
number reduced to the 32bit limit? (2147483647)



Especially if you're saying the only way this could occur is with a
64bit OS?



As I stated in my last edit, wouldn't a 64bit OS return:

int(2147483648)

------------------------------------------------------------------------
[2010-03-26 07:50:20] ahar...@php.net

Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=296829
Log: Update to the integer type page to make it clearer how overflow
works on 32-
and 64-bit systems and what the critical thresholds are. Prompted by
bug #51274, although not an actual fix for it.

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


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/bug.php?id=51274


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

Reply via email to