PHP 7.4.0RC6 Released!


(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.

Список параметров


The start of the memory area to copy to.


The start of the memory area to copy from.


The number of bytes to copy.

Возвращаемые значения

Эта функция не возвращает значения после выполнения.

add a note add a note

User Contributed Notes

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