编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « FFI::addr
  • FFI::arrayType »
  • PHP Manual
  • FFI
  • Gets the alignment

FFI::alignof

(PHP 7 >= 7.4.0)

FFI::alignof — Gets the alignment

说明

public static FFI::alignof ( mixed &$ptr ) : int

Gets the alignment of the given FFI\CData or FFI\CType object.

参数

ptr

The handle of the C data or type.

返回值

Returns the alignment of the given FFI\CData or FFI\CType object.

相关文章
php chdb gets the value associated with a keyphp ffi creates an unmanaged pointer to c dataphp ffi gets the alignmentphp ffi fills a memory areaphp ffi creates a c data structurephp ffi gets the size of c data or typesphp ffi gets the ffi ctype of ffi cdataphp dbase 函数 gets the number of records in a databasephp direct io 函数 gets stat information about the file descriptor fdphp php 选项/信息 函数 gets information about the garbage collectorphp mhash 函数 gets the block size of the specified hashphp ps 函数 gets geometry of a stringphp gmagick gets the image colorspacephp imagick gets channel distortionsphp mongocommandcursor gets information about the cursor s creation and iterationphp multipleiterator gets the registered iterator instancesphp reflectionclass gets a reflectionclassconstant for a class s constantphp reflectiongenerator gets the function name of the generatorphp reflectionproperty gets declaring classphp splfileinfo gets the last modified time
关注编程学问公众号
编程学问网 湘ICP备20001732号