Re: [PHP-DEV] [RFC] [FFI] Opt-in mapping of C struct types to userland PHP classes

[email protected] (Bob Weinand)
Newsgroups php.internals
Message-ID <AMBPR07MB1202489D35E35825A44A0896AE2A62@AMBPR07MB12024.eurprd07.prod.outlook.com>
Hey Alexander,

On 12.8.2026 15:39:35, Alexander Lisachenko wrote:
> Hi internals,
>
> I'd like to check interest in an FFI improvement before writing a 
> formal RFC. I've filed the full proposal with an implementation sketch 
> as a feature request:
>
> https://github.com/php/php-src/issues/23229
>

I've replied to you on the github issue outlining some thoughts.

But yeah, don't rush this, write a RFC, and check what actually feels 
good to use and read.


But yeah, as noted on the issue, I don't think the typemap really solves 
issues I had in my prior FFI usage.


Thanks,
Bob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.