Expand description
Embedded PHP runtime for Folk.
Embeds the PHP interpreter directly into the Rust process via FFI, eliminating IPC overhead. Each worker runs on a dedicated OS thread with its own isolated PHP runtime.
Modules§
- ffi
- Raw FFI bindings to PHP embed SAPI and our C helper functions.
- php
- Safe Rust wrappers around PHP embed SAPI FFI.
Structs§
- Embed
Config - Configuration for the embed runtime.
- Embed
Runtime - Embedded PHP runtime — spawns worker threads instead of processes.