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\Lock::unlockSwoole\Mmap::open>
^SwooleLast updated: Mon, 26 Oct 2026

The Swoole\Mmap class

(PECL swoole >= 1.9.0)

Introduction

Class synopsis

class Swoole\Mmap {
/* Methods */
public static function open(string $filename, string $size = ?, string $offset = ?): ReturnType
}

Table of Contents

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

<Swoole\Lock::unlockSwoole\Mmap::open>
^SwooleLast updated: Mon, 26 Oct 2026