ID: 42872 User updated by: nasso dot k2 at gmail dot com Reported By: nasso dot k2 at gmail dot com -Status: Feedback +Status: Open Bug Type: Math related Operating System: Windows XP PHP Version: 5.2.4 New Comment:
Problem vanished when updated to 5.2.4, probably my old 5.2.3 was little buggy. Remove this submition, please. Previous Comments: ------------------------------------------------------------------------ [2007-10-05 23:47:46] [EMAIL PROTECTED] I'm not sure what you're trying to achieve here since your reproduce script is just nonsense. Please provide a self-contained script that begins with '<?php' and ends with '?>' like a PHP scripts usually do. ------------------------------------------------------------------------ [2007-10-05 23:09:20] nasso dot k2 at gmail dot com Description: ------------ $large_num -= 1000000 is not equal to $large_num = $large_num - 1000000; Reproduce code: --------------- $large_num = 1234567890; while($large_num >= 1000000) $large_num -= 1000000; Expected result: ---------------- 1233567890 Actual result: -------------- 0 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42872&edit=1