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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
36 + 50 = ?
Subscribe to this entry?

 
 [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 19:01:29 2024 UTC