Home>Article>Backend Development> A preliminary study on php shared memory shmop
First go to the reading and writing program:
key: the unique key value of the shared memory. The shared memory uses this key to determine which part you are reading. A piece of memory.
shmid: When using key to obtain memory, you get the value of this id. It serves as an identifier for the memory block you operate on.
owner: the user who created the shared memory block
perms: the read and write permissions of the shared memory, 8 is prohibited, can be 777, consistent with the read and write permissions of the file.
bytes: the size of the memory block
nattch: the number of processes connected to the memory block
status: current status, such as: dest, about to be deleted, etc.
The above has introduced a preliminary study on PHP shared memory shmop, including aspects of it. I hope it will be helpful to friends who are interested in PHP tutorials.