FFI::type
(PHP 7 >= 7.4.0, PHP 8)
FFI::type — Creates an FFI\CType object from a C declaration
Description
This function creates and returns a FFI\CType object for the given string containing a C type declaration. Any type declared for the instance is allowed.
Changelog
| Version | Description |
|---|---|
| 8.3.0 | Calling FFI::type() statically is now deprecated. |
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
