|  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=dbmnextkey($db_id,$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.


Add a Patch

Pull Requests

Add a Pull Request


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

 [2000-12-04 12:18 UTC]
The db extension is deprecated.
Use dba extension instead.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 12:01:29 2024 UTC