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
 [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

Pull Requests

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: Sat Dec 21 12:01:31 2024 UTC