← All docs
curl_share_setopt() — internals
Compiler internals for curl_share_setopt(): lowering path, type checks, and runtime helpers.
curl_share_setopt() — internals
Where it lives
- Signature:
crates/elephc-builtin-contract/src/catalog_curl.rs - Lowering:
src/curl_prelude.rs:1802 (curl_share_setopt) - Function symbol:
curl_share_setopt()
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_share_setopt(CurlShareHandle $share_handle, int $option, mixed $value): bool
What the type checker enforces
- Arity: takes exactly 3 arguments.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/curl/curl_share_setopt.rs(eval_builtin!) - Execution: Magician interpreter adapter.
- Adapter reason:
dynamic-language-surface. - Dispatch hooks:
direct,values