Table Of Contents

Previous topic

mget

Next topic

set

This Page

replace

Description

boolean replace ( string $key, mixed value[, int $expiration = 0])

replace replace value

Parameters

  • key
    • key string
  • value
    • value to be stored
  • expiration
    • lifetime of the data

Return Values

boolean : return true if success, false is failed

Examples