Table Of Contents

Previous topic

Function definitions

Next topic

cas

This Page

add

Description

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

add returns

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