Hello. Maybe you will be interested: FFI PHP extension (Foreign Function Interface) https://github.com/dstogov/php-ffi The author asks for feedback and testing.