shm_has_var
(PHP 5 >= 5.3.0)
shm_has_var — Check whether a specific entry exists
Beschreibung
bool shm_has_var
( resource
$shm_identifier
, int $variable_key
)Checks whether a specific key exists inside a shared memory segment.
Parameter-Liste
-
shm_identifier -
Shared memory segment, obtained from shm_attach().
-
variable_key -
The variable key.
Rückgabewerte
Returns TRUE if the entry exists, otherwise FALSE
Siehe auch
- shm_get_var() - Liest eine Variable aus dem Shared Memory
- shm_put_var() - Aktualisiert eine Variable im Shared Memory