← All docs
mysqli_connect() — internals
Compiler internals for mysqli_connect(): lowering path, type checks, and runtime helpers.
mysqli_connect() — internals
Where it lives
- Signature:
crates/elephc-builtin-contract/src/catalog_data.rs - Lowering:
src/mysqli_prelude/build/procedural.rs:69 (mysqli_connect) - Function symbol:
mysqli_connect()
Lowering notes
- Implemented by the compiler-injected mysqli 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 mysqli_connect(?string $hostname = null, ?string $username = null, ?string $password = null, ?string $database = null, ?int $port = null, ?string $socket = null): mixed
What the type checker enforces
- Arity: takes 0–6 arguments (6 optional).
Eval interpreter (magician)
Not callable from eval’d code — the magician interpreter has no entry for this builtin.