PHP Shared Memory Functions

EditRocket provides the following information on Shared Memory functions in the PHP source code builder.

void shmop_close ( int $shmid ) - shmop_close() is used to close a shared memory block.

bool shmop_delete ( int $shmid ) - shmop_delete() is used to delete a shared memory block.

int shmop_open ( int $key , string $flags , int $mode , int $size ) - shmop_open() can create or open a shared memory block.

string shmop_read ( int $shmid , int $start , int $count ) - shmop_read() will read a string from shared memory block.

int shmop_size ( int $shmid ) - shmop_size() is used to get the size, in bytes of the shared memory block.

int shmop_write ( int $shmid , string $data , int $offset ) - shmop_write() will write a string into shared memory block.