On Fri, Apr 13, 2018 at 7:27 AM, Dmitry Stogov <dmi...@zend.com> wrote: > I've spent some time thinking about simple FFI for PHP, and finally, borrowed > most ideas from LuaJIT. > This is an initial PoC. It was tested on Linux only. > > https://github.com/dstogov/php-ffi > > I would appreciate review, comments and ideas about missing features and > functionality.
A better FFI is sorely needed so thanks for looking into this. I don't particularly like having to manually specify the definitions. IIRC if the DSO has debugging symbols libffi can provide them but honestly I haven't looked at libffi in years so I might be mis-remembering. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php