public SyncSharedMemory::__construct    ( string $name   , int $size   )

SyncSharedMemory::__constructConstructs a new SyncSharedMemory object

name

The name of the shared memory object.

Замечание:

If the name already exists, it must be able to be opened by the current user that the process is running as or an exception will be thrown with a meaningless error message.

size

The size, in bytes, of shared memory to reserve.

Замечание:

The amount of memory cannot be resized later. Request sufficient storage up front.