Documentation

Class Phalcon\Sync\Sharedmemory

Source on GitHub

Methods

public __construct (string $name, int $size)

Phalcon\Sync\Sharedmemory constructor

public boolean first ()

Returns whether or not this shared memory segment is the first time accessed (i.e. not initialized)

public size ()

...

public string read ([int $start], [int $length])

Copies data from shared memory

public int write (unknown $string, [int $start])

Copies data to shared memory