编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 ldap 函数 free result memoryphp msql 函数 free result memoryphp mssql 函数 free statement memoryphp ps 函数 fills an area with a shadingphp semaphore 函数 disconnects from shared memory segmentphp wincache 函数 retrieves information about file cache memory usagephp shared memory 安装/配置php swoole lock construct a memory lock.php swoole lock destory a swoole memory lock.php swoole table construct a swoole memory table with fixed size.php xmldiff memory diff two xml documents
关注编程学问公众号
编程学问网 湘ICP备20001732号