dbmreplace

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

dbmreplace --  Replaces the value for a key in a DBM database

Description

int dbmreplace (int dbm_identifier, string key, string value)

Replaces the value for the specified key in the database.

This will also add the key to the database if it didn't already exist.