shm_put_var
shm_put_var
Inserts or updates a variable in shared memory
bool **shm_put_var** SysvSharedMemory $shm int $key mixed $value
inserts or updates the
with the given
.
shm_put_var``value``key
Warnings ( level) will be issued if
is not a valid SysV shared memory
index or if there was not enough shared memory remaining to complete your
request.
E_WARNING``shm
shm
A shared memory segment obtained from .
shm_attach
keyThe variable key.
value
The variable. All
that supports may be used: generally
this means all types except for resources and some internal objects
that cannot be serialized.
variable typesserialize
return.success
shm_get_var``shm_has_var