php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13540 dbase_get_record_with_names: comma problem
Submitted: 2001-10-04 10:35 UTC Modified: 2001-11-20 11:02 UTC
From: dominic at heydennewmedia dot de Assigned:
Status: Closed Package: dBase related
PHP Version: 4.0.6 OS: WinNT
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dominic at heydennewmedia dot de
New email:
PHP Version: OS:

 

 [2001-10-04 10:35 UTC] dominic at heydennewmedia dot de
My original dBase contains one field with numbers like 1,5 or 2,5. When I try to get the contents with dbase_get_record_with_names the resulting array contains only the pre-comma-values like 1 or 2. 
Is it a typecast problem ? I think field contents like '1,5' should be converted to string.
Sincerly, Dominic

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-05 12:46 UTC] dominic at heydennewmedia dot de
The original dbase field type is 'N'. 
I think the reason for my problem is line 466 in
PHP Source 'dbase.c' where the type conversion is
executed: 
#466:  case 'N':	/* FALLS THROUGH */

** Dominic
 [2001-10-30 19:17 UTC] sniper@php.net
Please try the latest snapshot build from 
http://www.php4win.com

 [2001-11-20 11:02 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 12:01:30 2024 UTC