Summary: Read data from shared memory block
PHP 5Related methods: shmop_write
string shmop_read(resource $shmid, int $start, int $count)
shmop_read() will read a string from shared memory block.
Returns the data or
FALSE on failure.
- resource $shmid: The shared memory block identifier created by shmop_open()
- int $start: Offset from which to start reading
- int $count: The number of bytes to read
Example #1 Reading shared memory block
$shm_data = shmop_read($shm_id, 0, 50);
|7.0.0||The type of |