← All docs

mysqli_get_host_info()

Returns the server host name and connection type.

mysqli_get_host_info()

function mysqli_get_host_info(mixed $mysql): string

Returns the server host name and connection type.

Parameters:

  • $mysql (mixed)

Returns: string

Availability

  • Compiled (AOT): supported through an injected elephc-PHP prelude.
  • eval() (magician interpreter): not available inside eval’d code.

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how mysqli_get_host_info is implemented in the compiler, see the internals page.