php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #924 php does not work well with any types of data except string type
Submitted: 1998-11-16 10:31 UTC Modified: 1998-11-23 00:21 UTC
From: lunix at artelecom dot ru Assigned:
Status: Closed Package: DBM/DBA related
PHP Version: 3.0.5 OS: bsdi-2.1
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: lunix at artelecom dot ru
New email:
PHP Version: OS:

 

 [1998-11-16 10:31 UTC] lunix at artelecom dot ru
-- script ---
$dbm_id = dbmopen("test", "r");
$key = dbmfirstkey($dbm_id);
while($key) {
 echo "$key = ".dbmfetch($dbm_id, $key)."\n";
 $key = dbmnextkey($dbm_id);
}
dbmclose($dbm_id);
-- script ---

--- modules ---
mysql
--- modules ---

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-11-23 00:21 UTC] jim
I don't understand the problem. Everything is converted to a string when
it is saved to a dbm-style database, because dbminsert() and dbmreplace()
take strings for the key and value types. Without knowing what the contents
of 'test' are, it is impossible to see what the bug is supposed to be.

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Dec 04 18:01:23 2020 UTC