(PHP 4, PHP 5, PHP 7, PHP 8)
shm_remove_var — Removes a variable from shared memory
$shm
, int $key
): bool
Removes a variable with a given key
and frees the occupied memory.
Возвращает true
в случае успешного завершения или false
в случае возникновения ошибки.
Версия | Описание |
---|---|
8.0.0 |
shm expects a SysvSharedMemory
instance now; previously, a resource was expected.
|