SHM_GET_VAR(3) 1 SHM_GET_VAR(3)
shm_get_var - Returns a variable from shared memory
SYNOPSIS
mixed shm_get_var (resource $shm_identifier, int $variable_key)
DESCRIPTION
shm_get_var(3) returns the variable with a given $variable_key, in the given shared memory segment. The variable is still present in the
shared memory.
PARAMETERS
o $shm_identifier
- Shared memory segment, obtained from shm_attach(3).
o $variable_key
- The variable key.
RETURN VALUES
Returns the variable with the given key.
SEE ALSO
shm_has_var(3), shm_put_var(3).
PHP Documentation Group SHM_GET_VAR(3)