shm_remove
(PHP 4, PHP 5, PHP 7, PHP 8)
shm_remove — Removes shared memory from Unix systems
Description
shm_remove() removes the shared memory
shm. All data will be destroyed.
Parameters
shm
-
A shared memory segment obtained from shm_attach().
Return Values
Returns true on success or false on failure.
Errors/Exceptions
Throws an Error if shm
has already been detached with shm_detach().