Dutch PHP Conference 2025 - Call For Papers

Налаштування під час виконання

На поведінку цих функцій випливають налаштування в php.ini.

FFI Параметри конфігурації
Назва Початково Де можна змінювати Журнал змін
ffi.enable "preload" INI_SYSTEM  
ffi.preload "" INI_SYSTEM  
Докладніша інформація та визначення режимів INI_* на сторінці Де можна встановлювати параметри конфігурації.

Тут є коротке пояснення директив конфігурації.

ffi.enable string

Allows enabling ("true") or disabling ("false") FFI API usage, or restricting it only to the CLI SAPI and preloaded files ("preload").

The FFI API restrictions only affect the FFI class, but not overloaded functions of FFI\CData objects. This means that it is possible to create some FFI\CData objects in preloaded files, and then to use these directly in PHP scripts.

ffi.preload string

Allows preloading of FFI bindings during startup, which is not possible with FFI::load() if opcache.preload_user is set. This directive accepts a DIRECTORY_SEPARATOR delimited list of filenames. The preloaded bindings can be accessed by calling FFI::scope().

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top