(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.