PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

Swoole\Mmap::open

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

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

说明

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

参数

filename

size

offset

返回值