← All docs

mysqli_report()

Selects which mysqli conditions raise exceptions or warnings.

mysqli_report()

function mysqli_report(int $flags): bool

Selects which mysqli conditions raise exceptions or warnings.

Parameters:

  • $flags (int)

Returns: bool

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