← All docs

curl_escape() — internals

Compiler internals for curl_escape(): lowering path, type checks, and runtime helpers.

curl_escape() — internals

Where it lives

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_escape(CurlHandle $handle, string $string): string

What the type checker enforces

  • Arity: takes exactly 2 arguments.

Eval interpreter (magician)

Cross-references