[php-src] Issue #7866: Ability to pick PHP value by reference in FFI.

From: Date: Thu, 03 Feb 2022 12:50:43 +0000
Subject: [php-src] Issue #7866: Ability to pick PHP value by reference in FFI.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-239433@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7866 Comment Author: KapitanOczywisty @userqq php itself is using these functions, so they should be loaded anyway - at this very moment I think this is the fastest and safest option. You can use callback variant, but ffi has quite a few issues with them. I think that string in FFI::cast should be treated as char[$strlen] or char*, thus FFI::cast('char*', $string) should be allowed. @cmb69 is this reasonable?

« previous php.bugs (#239433) next »