Bug #13067 Updated: bool dbmreplace (int dbm_identifier, string key, string value)

From: Date: Thu, 30 Aug 2001 23:01:27 +0000
Subject: Bug #13067 Updated: bool dbmreplace (int dbm_identifier, string key, string value)
References: 1  Groups: php.dev php.doc 
Request: Send a blank email to php-dev+get-64754@lists.php.net to get a copy of this message
ID: 13067 Updated by: joey Reported By: holler@ergo-soft.com Old Status: Open Status: Feedback Bug Type: Documentation problem Operating System: na PHP Version: 4.0.6 New Comment: I'm not sure what is the right thing to do here. There *is* a mismatch, but who is correct? The proto says: /* {{{ proto int dbmreplace(int dbm_identifier, string key, string value) Replaces the value for a key in a dbm database */ So, by this reasoning, the function operates correctly. However, it seems to me that what you want to know is whether the replace worked or not... Previous Comments: ------------------------------------------------------------------------ [2001-08-30 16:03:59] holler@ergo-soft.com in docs dbmreplace() returns bool <b>bool dbmreplace(int dbm_identifier, string key, string value)</b> but dbmreplace() returns int like dbminsert() you all make a good job gegards robert ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13067&edit=1

« previous php.dev (#64754) next »