PHP: mysqli::refresh - Manual (original) (raw)

mysqli_refresh

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

mysqli::refresh -- mysqli_refresh — Refreshes

Warning

This function has been_DEPRECATED_ as of PHP 8.4.0. Relying on this function is highly discouraged.

Description

Object-oriented style

Procedural style

Flushes tables or caches, or resets the replication server information.

Return Values

[true](reserved.constants.php#constant.true) if the refresh was a success, otherwise [false](reserved.constants.php#constant.false)

Changelog

Version Description
8.4.0 Both mysqli::refresh() andmysqli_refresh() are now deprecated. Use FLUSH SQL commands instead.

Found A Problem?

There are no user contributed notes for this page.