PHP - Manual: FFI::isNull
2024-12-22
(PHP 7 >= 7.4.0, PHP 8)
FFI::isNull — Checks whether a FFI\CData is a null pointer
&$ptr
Checks whether a FFI\CData is a null pointer.
ptr
The handle of the pointer to a C data structure.
Returns whether a FFI\CData is a null pointer.
官方地址:https://www.php.net/manual/en/ffi.isnull.php