private function memOpen(int $key, string $mode, int $permissions, int $size)
    {
        $this->handle = @shmop_open($key, $mode, $permissions, $size);
        if ($this->handle === false) {
            throw new SharedMemoryException('Failed to create shared memory block.');
        }
    }
private function memOpen(int $key, string $mode, int $permissions, int $size)
    {
        $this->handle = @shmop_open($key, $mode, $permissions, $size);
        if ($this->handle === false) {
            throw new SharedMemoryException('Failed to create shared memory block.');
        }
    }
private function memOpen ( int $ key , string $ mode , int $ permissions , int $ size ) { $ this -> handle = @ shmop_open ( $ key , $ mode , $ permissions , $ size ) ; if ( $ this -> handle === false ) { throw new SharedMemoryException ( 'Failed to create shared memory block.' ) ; } }
Opens a shared memory handle.

@param int    $key         The shared memory key.
@param string $mode        The mode to open the shared memory in.
@param int    $permissions Process permissions on the shared memory.
@param int    $size        The size to crate the shared memory in bytes.
Opens a shared memory handle .