shm_get_var returns the variable with a given key, in the given shared memory segment. The variable is still present in the shared memory.
A shared memory segment obtained from shm_attach.
The variable key.
Returns the variable with the given key.
|8.0.0||shm expects a SysvSharedMemory instance now; previously, a resource was expected.|