编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « FFI::memcpy
  • FFI::new »
  • PHP Manual
  • FFI
  • Fills a memory area

FFI::memset

(PHP 7 >= 7.4.0)

FFI::memset — Fills a memory area

说明

public static FFI::memset ( FFI\CData &$ptr , int $ch , int $size ) : void

Fills size bytes of the memory area pointed to by ptr with the given byte ch.

参数

ptr

The start of the memory area to fill.

ch

The byte to fill with.

size

The number of bytes to fill.

返回值

没有返回值。

相关文章
php cairocontext fills the current pathphp ffi c type handlesphp ffi ffi exceptionsphp ui areaphp ffi compares memory areasphp ffi copies one memory area to anotherphp ffi fills a memory areaphp ffi 安装/配置php ffi creates a php string from a memory areaphp frontbase 函数 free result memoryphp newt 函数 fills in the passed references with the current size of the terminalphp ps 函数 fills an area with a shadingphp shared memory 函数 get size of shared memory blockphp mysqli stmt frees stored result memory for the given statement handlephp shared memory 预定义常量php swoole buffer release the memory to os which is not used by the memory buffer.php swoole buffer read data from the memory buffer based on offset and length. or remove data from the memory buffer.php syncsharedmemory check to see if the object is the first instance system wide of named shared memoryphp ui area area scrollphp ui area set size
关注编程学问公众号
编程学问网 湘ICP备20001732号