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

From: Date: Tue, 18 Aug 2026 03:00:52 +0000
Subject: Re: [RFC] [FFI] Opt-in mapping of C struct types to userland PHP classes
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-132246@lists.php.net to get a copy of this message
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

« previous php.internals (#132246) next »