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
 [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-2020 The PHP Group
All rights reserved.
Last updated: Mon Nov 30 11:01:22 2020 UTC