mysqli::reap_async_query

mysqli_reap_async_query

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

mysqli::reap_async_query -- mysqli_reap_async_queryGet result from async query

Description

Object-oriented style

public mysqli::reap_async_query(): mysqli_result|bool

Procedural style

mysqli_reap_async_query(mysqli $mysql): mysqli_result|bool

Get result from async query.

Note:

Available only with mysqlnd.

Parameters

mysql

Procedural style only: A mysqli object 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