PHP 7.4 FFI: What you need to know

Published on

If you have ever looked at PHP's documentation on how to write a native extension, you'll know how needed this new PHP feature is. It will let you easily wrap highly optimised code and use it in your application to tackle those performance bottlenecks.

PHP Foreign Function Interface, or FFI for fans, is a PHP extension that allows you to include with ease some externals libraries into your PHP code. That means it’s possible to use C, Go, Rust, etc. shared library directly in PHP without writing a PHP Extension in C.

Read PHP 7.4 FFI: What you need to know on jolicode.com