|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-08-30 16:03 UTC] holler at ergo-soft dot 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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 01:00:01 2025 UTC |
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...