PHP 4.0 Bug #7932 Updated: dbmnextkey not working properly

From: Date: Mon, 04 Dec 2000 17:18:11 +0000
Subject: PHP 4.0 Bug #7932 Updated: dbmnextkey not working properly
Groups: php.dev 
Request: Send a blank email to php-dev+get-40003@lists.php.net to get a copy of this message
ID: 7932 Updated by: sniper Reported By: andy@mindgate.net Status: Closed Bug Type: DBM/DBA related Assigned To: Comments: The db extension is deprecated. Use dba extension instead. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-11-23 05:36:27] sniper@php.net Have you tried the DBA extension instead? --Jani --------------------------------------------------------------------------- [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

« previous php.dev (#40003) next »