Swoole\Mmap
PHP Manual

Swoole\Mmap::open

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Mmap::openMap a file into memory and return the stream resource which can be used by PHP stream operations.

Description

public static ReturnType Swoole\Mmap::open ( string $filename [, string $size [, string $offset ]] )

Parameters

filename

size

offset

Return Values


Swoole\Mmap
PHP Manual