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

From: Date: Mon, 08 Oct 2001 14:44:22 +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-67550@lists.php.net to get a copy of this message
ID: 13067 Updated by: sander Reported By: holler@ergo-soft.com Old Status: Feedback Status: Open Bug Type: Documentation problem Operating System: na PHP Version: 4.0.6 New Comment: Reopened. Previous Comments: ------------------------------------------------------------------------ [2001-08-30 19:01:27] joey@php.net 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... ------------------------------------------------------------------------ [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 (#67550) next »