shm_put_var

shm_put_var -- Inserts or updates a variable in shared memory

Description

int shm_put_var(int id, long variable_key, mixed variable);

Inserts or updates a variable with a given variable_key. All variable-types (double, long, string, array) are supported. The function serialize() can be used to store the data.