php教程

FFI::memcpy

(PHP 7 >= 7.4.0)

FFI::memcpyCopies one memory area to another

说明

public static FFI::memcpy ( FFI\CData &$dst , mixed &$src , int $size ) : void

Copies size bytes from the memory area src to the memory area dst. Both src and dst can be any native data structures (FFI\CData) or PHP strings.

参数

dst

The start of the memory area to copy to.

src

The start of the memory area to copy from.

size

The number of bytes to copy.

返回值

没有返回值。

User Contributed Notes

There are no user contributed notes for this page.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788