← All docs
curl_setopt_array() — internals
Compiler internals for curl_setopt_array(): lowering path, type checks, and runtime helpers.
curl_setopt_array() — internals
Where it lives
- Signature:
crates/elephc-builtin-contract/src/catalog_curl.rs - Lowering:
src/curl_prelude.rs:1111 (curl_setopt_array) - Function symbol:
curl_setopt_array()
Lowering notes
- Implemented by the compiler-injected curl 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 curl_setopt_array(CurlHandle $handle, array $options): bool
What the type checker enforces
- Arity: takes exactly 2 arguments.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/curl/curl_setopt_array.rs(eval_builtin!) - Execution: Magician interpreter adapter.
- Adapter reason:
dynamic-language-surface. - Dispatch hooks:
direct,values