shmop_read

string shmop_read(int shmop_id, int start, int count) 
shmop_id ID of a shared memory segment
start Byte offset from which to read
count Number of bytes to read

Reads a string of bytes from a shared memory segment.

Returns:

String from the shared memory segment; FALSE on error

Description:

shmop_read() reads and returns a string from the shared memory segment identified by shmop_id . start gives the offset in bytes from the beginning of the shared memory segment from which to start reading (starting from 0), and count gives the number of bytes to read from that point. If either of these values is out of range, or if shmop_id is not a valid identifier as returned by shmop_open(), shmop_read() returns FALSE.

In order to read all ...

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.