PHP 4.0 Bug #7932 Updated: dbmnextkey not working properly
| From: | sniper@php.net | Date: | Thu, 23 Nov 2000 10:36:27 +0000 |
| Subject: | PHP 4.0 Bug #7932 Updated: dbmnextkey not working properly | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38979@lists.php.net to get a copy of this message | ||
ID: 7932
Updated by: sniper
Reported By: andy@mindgate.net
Status: Feedback
Bug Type: DBM/DBA related
Assigned To:
Comments:
Have you tried the DBA extension instead?
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-11-22 16:04:41] andy@mindgate.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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7932