(PHP 4, PHP 5, PHP 7, PHP 8)
shm_remove_var — Removes a variable from shared memory
$shm
$key
Removes a variable with a given key and frees the occupied memory.
key
shm
A shared memory segment obtained from shm_attach().
The variable key.
成功时返回 true, 或者在失败时返回 false。
true
false