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