The Swoole\Mmap class

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

Introduction

Class synopsis

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.