php8.5
Home/ Manual/ swoole / mmap/ Swoole\Mmap::open

Swoole\Mmap::open

PHP function Edit on GitHub ✎

(PECL swoole >= 1.9.0)

Map a file into memory and return the stream resource which can be used by PHP stream operations.

Description

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

Parameters

filename
size
offset

Return Values

Source: reference/swoole/swoole/mmap/open.xml · from the official PHP manual (php/doc-en)