PHP 4.0 Bug #7932: dbmnextkey not working properly
| From: | andy at mindgate dot net | Date: | Wed, 22 Nov 2000 21:04:41 +0000 |
| Subject: | PHP 4.0 Bug #7932: dbmnextkey not working properly | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38945@lists.php.net to get a copy of this message | ||
From: andy@mindgate.net
Operating system: Win2K/IIS
PHP version: 4.0.3pl1
PHP Bug Type: DBM/DBA related
Bug description: dbmnextkey not working properly
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.
--
Edit Bug report at: http://bugs.php.net/?id=7932&edit=1