← All docs

mysqli_real_connect() — internals

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

mysqli_real_connect() — internals

Where it lives

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_real_connect(mixed $mysql, ?string $hostname = null, ?string $username = null, ?string $password = null, ?string $database = null, ?int $port = null, ?string $socket = null, int $flags = 0): bool

What the type checker enforces

  • Arity: takes 1–8 arguments (7 optional).

Eval interpreter (magician)

Not callable from eval’d code — the magician interpreter has no entry for this builtin.

Cross-references