(PHP 7 >= 7.4.0)
FFI::memset — Fills a memory area
Fills size bytes of the memory area pointed to by
ptr with the given byte ch.
ptrThe start of the memory area to fill.
chThe byte to fill with.
sizeThe number of bytes to fill.
No value is returned.