FFI::load

(PHP 7 >= 7.4.0)

FFI::loadLoads C declarations from a C header file

Beschreibung

public static FFI::load ( string $filename ) : FFI

Loads C declarations from a C header file. It is possible to specify shared libraries that should be loaded, using special FFI_LIB defines in the loaded C header file.

Parameter-Liste

filename

The name of a C header file.

Hinweis:

C preprocessor directives are not supported, i.e. #include, #define and CPP macros do not work.

R├╝ckgabewerte

Returns the freshly created FFI object.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top