September 2001
Intermediate to advanced
768 pages
32h 45m
English
void shmop_close(int shmop_id) Closes (detaches from) a shared memory segment.
Returns:
Returns nothing useful (as of PHP 4.0.5, integer 0 on success and FALSE on failure; however, the return value is considered to be void, so don’t count on this)
Description:
shmop_close() closes the shared memory segment identified by shmop_id . shmop_id must be a valid shared memory identifier as returned by shmop_open(). Closing a segment doesn’t destroy its contents or free its memory.
Version:
PHP 4 since 4.0.3
See also:
shmop_delete() shmop_open() shmop_read() shmop_size() shmop_write()
Example:
shmop_close($shm_id); |
Read now
Unlock full access