note 8382 added to dbmdelete

From: Date: Sat, 09 Sep 2000 17:53:08 +0000
Subject: note 8382 added to dbmdelete
Groups: php.notes 
Request: Send a blank email to php-notes+get-4614@lists.php.net to get a copy of this message
Doesn't return false if the key is not in the database (contrary to what the documentation states). Returns -1 (TRUE) if the key doesn't exist Returns 0 (FALSE) if the key does exist This is still a bug (3.0.16 and 4.0.2) and it can still cost you your Saturday afternoon if you comply with the PHP documentation on TRUE (non-zero) and FALSE (0) with regards to this function. http://www.php.net/manual/language.expressions.php http://www.php.net/manual/function.dbmdelete.php

« previous php.notes (#4614) next »