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 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.
(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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Mar 29 11:01:29 2024 UTC