php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21701 all real's returns in php as 2.96234E- 304
Submitted: 2003-01-16 19:54 UTC Modified: 2003-02-09 01:17 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: thnoest at xs4all dot nl Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.3.0 OS: windows nt4
Private report: No CVE-ID: None
 [2003-01-16 19:54 UTC] thnoest at xs4all dot nl
After Upgrading from PHP4.2.3 to 4.3.0 the real numbers from my MSSQL 7 database return in scientific notation, and all are the same: 2.96234E-304. 
Back in my db the numbers are still the same, like 1.2 2.0 3.1 etc.

I used the standard wise installer and extracted the php_mssql.dll from the zip. This is the only extra module I use. I have the register_globals = On, mssql.allow_persistent = Off, mssql.max_persistent = 0, maximalized the textsize parameters.

After finding something similar in the bug database I downloaded a CVS zip, but didn't actually know what to do with it. So I extracted the .exe & php4ts.dll over the old ones. That didn't work. I had to do the wise installation again to get it to work again. How should I deal with a CVS zip? Could not find anything on the site about it.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-17 09:12 UTC] thnoest at xs4all dot nl
Found out about CVS. Just doesn't turn up in the php.net search.
 [2003-01-20 04:14 UTC] lucas at netia dot pl
Unfortunately, instalation of latest stable or cvs version of php didn't help me... :( It doesn't work properly...
 [2003-02-09 01:17 UTC] fmk@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, 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/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC