← All docs
finfo_buffer() - internals
Compiler internals for finfo_buffer(): lowering path, type checks, and runtime helpers.
finfo_buffer() - internals
Where it lives
- Signature:
crates/elephc-builtin-contract/src/catalog_surfaces.rs - Lowering:
src/fileinfo_prelude/build.rs(finfo_buffer) - Function symbol:
finfo_buffer()
Lowering notes
- Implemented by the compiler-injected fileinfo prelude.
Semantic descriptor
Shared contract implemented by an injected elephc-PHP prelude.
EIR and runtime boundary
Implemented by an injected elephc-PHP prelude.
Signature summary
function finfo_buffer(finfo $finfo, string $string, int $flags = 0, ?resource $context = null): string|false
What the type checker enforces
- Arity: takes 2–4 arguments (2 optional).
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/fileinfo/finfo_buffer.rs(eval_builtin!) - Execution: Magician interpreter adapter.
- Adapter reason:
dynamic-language-surface. - Dispatch hooks:
direct,values