Re: PHP FFI extenesion
| From: | Levi Morrison | Date: | Fri, 13 Apr 2018 16:55:37 +0000 |
| Subject: | Re: PHP FFI extenesion | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102039@lists.php.net to get a copy of this message | ||
On Fri, Apr 13, 2018 at 7:27 AM, Dmitry Stogov <dmitry@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.