PHP - Manual: FFI::alignof
2024-12-22
(PHP 7 >= 7.4.0, PHP 8)
FFI::alignof — Gets the alignment
&$ptr
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.
官方地址:https://www.php.net/manual/en/ffi.alignof.php