[php-src] Issue #7866: Ability to pick PHP value by reference in FFI.
| From: | cmb69 | Date: | Sat, 01 Jan 2022 15:32:49 +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-238701@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7866
Comment Author: cmb69
Hmm, you can pass a PHP string to a C char * without further ado (see https://www.php.net/manual/en/ffi.examples-basic.php).
Wouldn't that work for you?