ID: 43053 Updated by: [EMAIL PROTECTED] Reported By: owner at dragon-hearts dot net -Status: Open +Status: Closed Bug Type: Math related Operating System: Centos4 PHP Version: 5.2.4 New Comment:
Works fine for me too. Previous Comments: ------------------------------------------------------------------------ [2007-10-21 19:02:00] owner at dragon-hearts dot net The windows installer failed to install error code 2878 Manually installed on windows, worked fine. Tried installing on linux, installed ok but apache wouldn't start afterwards. The windows indication isn't very promising because it works on windows with php5.2.4 anyway. ------------------------------------------------------------------------ [2007-10-21 15:29:37] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi Works fine for me ------------------------------------------------------------------------ [2007-10-20 15:41:28] owner at dragon-hearts dot net Description: ------------ When using mathematical processes on numbers over 1 million the result comes out in scientific notation instead of as a normal integer. Tested on PHP 5.2.1 it works as expected on 5.2.2 and above it doesn't. I checked the change log and nothing is mentioned about this. Reproduce code: --------------- $var1=1; $var2=7000000; echo $var1*$var2; Expected result: ---------------- 7000000 Actual result: -------------- 7E+6 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43053&edit=1