International PHP Conference Berlin 2025

The Swoole\Mmap class

(PECL swoole >= 1.9.0)

Introduction

Class synopsis

class Swoole\Mmap {
/* Methods */
public static 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.
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top