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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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: Sat Dec 21 18:01:29 2024 UTC