编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 computes the area inside the current clipphp queue allocates enough memory for a required capacityphp vector allocates enough memory for a required capacityphp ffi releases an unmanaged data structurephp ffi compares memory areasphp ffi copies one memory area to anotherphp ffi fills a memory areaphp ffi creates a php string from a memory areaphp firebird/interbase 函数 free memory allocated by a prepared queryphp mssql 函数 free statement memoryphp ps 函数 fills an area with a shadingphp semaphore 函数 disconnects from shared memory segmentphp semaphore 函数 returns a variable from shared memoryphp wincache 函数 retrieves information about file cache memory usagephp xmlwriter 函数 create new xmlwriter using memory for string outputphp mysqlnd memory managementphp shared memory 安装/配置php swoole lock construct a memory lock.php xmldiff memory diff two xml documentsphp xmldiff memory produce merged xml document
关注编程学问公众号
编程学问网 湘ICP备20001732号