← All docs

mysqli_error_list()

Returns every error of the last call on a connection.

mysqli_error_list()

function mysqli_error_list(mixed $mysql): array

Returns every error of the last call on a connection.

Parameters:

  • $mysql (mixed)

Returns: array

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