Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Swoole\MmapSwoole\Module>
^Swoole\MmapLast updated: Mon, 26 Oct 2026

Swoole\Mmap::open

(PECL swoole >= 1.9.0)

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

Description

public static function Swoole\Mmap::open(string $filename, string $size = ?, string $offset = ?): ReturnType

Parameters

filename

size

offset

Return Values


<Swoole\MmapSwoole\Module>
^Swoole\MmapLast updated: Mon, 26 Oct 2026