shm_remove_var
(PHP 4, PHP 5, PHP 7, PHP 8)
shm_remove_var — Removes a variable from shared memory
说明
Removes a variable with a given key
and frees the occupied memory.
错误/异常
Throws an Error if shm
has already been detached with shm_detach().
更新日志
| 版本 | 说明 |
|---|---|
| 8.0.0 |
shm expects a SysvSharedMemory
instance now; previously, a resource was expected.
|
参见
- shm_remove() - Removes shared memory from Unix systems
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
