|  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.
Block user comment
Status: Assign to:
Bug Type:
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);
-- script ---

--- modules ---
--- modules ---


Add a Patch

Pull Requests

Add a Pull Request


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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 17 22:01:26 2024 UTC