PHP.nl

shm_has_var

shm_has_var

Check whether a specific entry exists

bool **shm_has_var** SysvSharedMemory $shm int $key

Checks whether a specific key exists inside a shared memory segment.

shm A shared memory segment obtained from . shm_attach

keyThe variable key.

Returns true if the entry exists, otherwise false

shm_get_var``shm_put_var