shmop_read

(PHP 4 >= 4.0.4, PHP 5, PHP 7)
Read data from shared memory block
string shmop_read ( int $shmid, int $start, int $count )

shmop_read() will read a string from shared memory block.

Parameters:
shmid

The shared memory block identifier created by shmop_open()

start

Offset from which to start reading

count

The number of bytes to read

Returns:

Returns the data or FALSE on failure.

Examples:
Reading shared memory block
<?php
$shm_data = shmop_read($shm_id, 0, 50);
?>

See also:

shmop_write() -

doc_php
2016-02-24 16:05:36
Comments
Leave a Comment

Please login to continue.