安装

To enable the FFI extension, PHP has to be configured with --with-ffi[=DIR] .

Windows users have to include php_ffi.dll into php.ini to enable the FFI extension.