PHP 8.5.2 Released!

FFI::memcpy

(PHP 7 >= 7.4.0, PHP 8)

FFI::memcpyあるメモリ領域を別の領域へコピーする

説明

public static FFI::memcpy(FFI\CData &$to, FFI\CData|string &$from, int $size): void

from のメモリ領域から size バイト分を to のメモリ領域へとコピーします。

パラメータ

to
コピー先のメモリ領域の開始位置。
from
コピー元のメモリ領域の開始位置。
size
コピーするバイト数。

戻り値

値を返しません。

add a note

User Contributed Notes

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