rfc:ffi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:ffi [2018/12/10 09:11] – Rename FFI:array_type() into FFI::arrayType() dmitry | rfc:ffi [2019/01/14 08:54] – dmitry | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2018-12-04 | * Date: 2018-12-04 | ||
* Author: Dmitry Stogov, dmitry@zend.com | * Author: Dmitry Stogov, dmitry@zend.com | ||
- | * Status: | + | * Status: |
* First Published at: https:// | * First Published at: https:// | ||
Line 230: | Line 230: | ||
===== PHP FFI API Restriction ===== | ===== PHP FFI API Restriction ===== | ||
- | FFI API opens all the C power, and consequently, | + | FFI API opens all the C power, and consequently, |
* **ffi.enable=false** completely disables PHP FFI API | * **ffi.enable=false** completely disables PHP FFI API | ||
Line 332: | Line 332: | ||
ffi.enable=false|preload|true | ffi.enable=false|preload|true | ||
- | allows enabling or disabling FFI API usage, or restricting it only to preloaded files. The default value is **preload** | + | allows enabling or disabling FFI API usage, or restricting it only to preloaded files. The default value is **preload**. This is INI_SYSTEM directive and it's value can't be changed at run-time. |
===== Open Issues ===== | ===== Open Issues ===== | ||
Line 345: | Line 345: | ||
* Sara Golemon thought, PHP needs something similar to [[https:// | * Sara Golemon thought, PHP needs something similar to [[https:// | ||
- | The usability of this FFI extension was proved by [[https:// | + | The usability of this FFI extension was proved by [[https:// |
===== Future Scope ===== | ===== Future Scope ===== | ||
Line 353: | Line 353: | ||
Include FFI extension into PHP-7.4 (bundle) | Include FFI extension into PHP-7.4 (bundle) | ||
This project requires 50%+1 majority | This project requires 50%+1 majority | ||
+ | The voting started 2018-12-20 and will close on 2019-01-09 | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== | ||
Line 359: | Line 365: | ||
===== Implementation ===== | ===== Implementation ===== | ||
After the project is implemented, | After the project is implemented, | ||
- | - the version(s) | + | - it was merged into master (7.4) |
- | - a link to the git commit(s) | + | - a link to the git [[https:// |
- a link to the PHP manual entry for the feature | - a link to the PHP manual entry for the feature | ||
- | - a link to the language specification section (if any) | ||
===== References ===== | ===== References ===== |
rfc/ffi.txt · Last modified: 2020/08/01 23:54 by carusogabriel