← All docs

mysqli_character_set_name()

Returns the connection's current character set.

mysqli_character_set_name()

function mysqli_character_set_name(mixed $mysql): string

Returns the connection’s current character set.

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_character_set_name is implemented in the compiler, see the internals page.