shm_attach
shm_attach
(PHP 4, PHP 5, PHP 7)
shm_attach — Creates or open a shared memory segment
Description
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 登录查看完整内容