shmop_delete

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Delete shared memory block bool shmop_delete ( int $shmid ) shmop_delete() is used to delete a shared memory block. Parameters: shmid The shared memory block identifier created by shmop_open() Returns: Returns TRUE on success or FALSE on failure. Examples:

shmop_close

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Close shared memory block void shmop_close ( int $shmid ) shmop_close() is used to close a shared memory block. Parameters: shmid The shared memory block identifier created by shmop_open() Returns: No value is returned. Examples: Closing shared memor

shm_remove

(PHP 4, PHP 5, PHP 7) Removes shared memory from Unix systems bool shm_remove ( resource $shm_identifier ) shm_remove() removes the shared memory shm_identifier. All data will be destroyed. Parameters: shm_identifier The shared memory identifier as returned by shm_attach() Returns: Returns TRUE on success or FALSE on failure.

shm_remove_var

(PHP 4, PHP 5, PHP 7) Removes a variable from shared memory bool shm_remove_var ( resource $shm_identifier, int $variable_key ) Removes a variable with a given variable_key and frees the occupied memory. Parameters: shm_identifier The shared memory identifier as returned by shm_attach() variable_key The variable key.

shm_put_var

(PHP 4, PHP 5, PHP 7) Inserts or updates a variable in shared memory bool shm_put_var ( resource $shm_identifier, int $variable_key, mixed $variable ) shm_put_var() inserts or updates the variable with the given variable_key. Warnings (E_WARNING level) will be issued if shm_identifier is not a valid SysV shared memory index or if there was not enough shared memory remaining to complete your request. Parame

shm_has_var

(PHP 5 >= 5.3.0, PHP 7) Check whether a specific entry exists bool shm_has_var ( resource $shm_identifier, int $variable_key ) Checks whether a specific key exists inside a shared memory segment. Parameters: shm_identifier Shared memory segment, obtained from shm_attach(). variable_key The variable key. Returns:

shm_get_var

(PHP 4, PHP 5, PHP 7) Returns a variable from shared memory mixed shm_get_var ( resource $shm_identifier, int $variable_key ) shm_get_var() returns the variable with a given variable_key, in the given shared memory segment. The variable is still present in the shared memory. Parameters: shm_identifier Shared memory segment, obtained from shm_attach().

shm_detach

(PHP 4, PHP 5, PHP 7) Disconnects from shared memory segment bool shm_detach ( resource $shm_identifier ) shm_detach() disconnects from the shared memory given by the shm_identifier created by shm_attach(). Remember, that shared memory still exist in the Unix system and the data is still present. Parameters: shm_identifier A shared memory resource handle as returned by sh

shm_attach

(PHP 4, PHP 5, PHP 7) Creates or open a shared memory segment resource shm_attach ( int $key [, int $memsize [, int $perm = 0666 ]] ) shm_attach() returns an id that can be used to access the System V shared memory with the given key, the first call creates the shared memory segment with memsize and the optional perm-bits perm. A second call to shm_attach() for the same key will return a different shared memory identifier

sem_remove

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Remove a semaphore bool sem_remove ( resource $sem_identifier ) sem_remove() removes the given semaphore. After removing the semaphore, it is no longer accessible. Parameters: sem_identifier A semaphore resource identifier as returned by sem_get(). Returns: Returns TRUE on success or FALSE on failure.