Documentation Home
Connectors and APIs Manual
Download this Manual
PDF (US Ltr) - 5.2Mb
PDF (A4) - 5.2Mb

Connectors and APIs Manual  /  ...  /  mysqli::reap_async_query, mysqli_reap_async_query mysqli::reap_async_query, mysqli_reap_async_query

Copyright 1997-2021 the PHP Documentation Group.

  • mysqli::reap_async_query


    Get result from async query


Object oriented style

public mysqli_result|bool mysqli::reap_async_query();

Procedural style

mysqli_result|bool mysqli_reap_async_query(mysqli mysql);

Get result from async query. Available only with mysqlnd.



Procedural style only: A link identifier returned by mysqli_connect or mysqli_init

Return Values

Returns false on failure. For successful queries which produce a result set, such as SELECT, SHOW, DESCRIBE or EXPLAIN, mysqli_reap_async_query will return a mysqli_result object. For other successful queries, mysqli_reap_async_query will return true.

See Also