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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC