php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7932 dbmnextkey not working properly
Submitted: 2000-11-22 16:04 UTC Modified: 2000-12-04 12:18 UTC
From: andy at mindgate dot net Assigned:
Status: Closed Package: DBM/DBA related
PHP Version: 4.0.3pl1 OS: Win2K/IIS
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: andy at mindgate dot net
New email:
PHP Version: OS:

 

 [2000-11-22 16:04 UTC] andy at mindgate dot net
The simplest way of iterating through keys
in the dbm doesn't even seem to work properly
in the Windows version of DBM:

for ($key=dbmfirstkey($db_id); 
     $key;
     $key=dbmnextkey($db_id,$key)) {
 $keys[]=$key;
}

Either the keys returned contain the wrong
characters or no key is returned at all

I've found the Windows DBM to be so bug-ridden
it's unusable.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-23 05:36 UTC] sniper@php.net
Have you tried the DBA extension instead?

--Jani
 [2000-12-04 12:18 UTC] sniper@php.net
The db extension is deprecated.
Use dba extension instead.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 14 11:01:32 2024 UTC