← All docs

mysqli_poll()

Polls connections for completed async queries.

mysqli_poll()

function mysqli_poll(?array $read, ?array $error, array $reject, int $seconds, int $microseconds = 0): mixed

Polls connections for completed async queries.

Parameters:

  • $read (?array), passed by reference
  • $error (?array), passed by reference
  • $reject (array), passed by reference
  • $seconds (int)
  • $microseconds (int), default 0, optional

Returns: mixed

Availability

Compiled (AOT)Magician (eval)
AvailableNot available yet

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

Internals

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