(PHP 7 >= 7.4.0, PHP 8)
FFI::type — Creates an FFI\CType object from a C declaration
This function creates and returns a FFI\CType object for the guiven string containing a C type declaration. Any type declared for the instance is allowed.
type
| Versionen | Description |
|---|---|
| 8.3.0 | Calling FFI::type() statically is now deprecated. |