Установка

To enable the FFI extension, PHP has to be configured with --with-ffi .

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