PHP Conference Nagoya 2025

mysqli::refresh

mysqli_refresh

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

mysqli::refresh -- mysqli_refreshRefreshes

Uyarı

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

Açıklama

Nesne yönelimli kullanım

#[\Deprecated]
public mysqli::refresh(int $flags): bool

Yordamsal kullanım

#[\Deprecated]
mysqli_refresh(mysqli $mysql, int $flags): bool

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

Bağımsız Değişkenler

bağlantı

Sadece yordamsal tarz: mysqli_connect() veya mysqli_init() işlevinden dönen bir mysqli nesnesi.

flags

The options to refresh, using the MYSQLI_REFRESH_* constants as documented within the MySQLi constants documentation.

See also the official » MySQL Refresh documentation.

Dönen Değerler

true if the refresh was a success, otherwise false

Sürüm Bilgisi

Sürüm: Açıklama
8.4.0 Both mysqli::refresh() and mysqli_refresh() are now deprecated. Use FLUSH SQL commands instead.

Ayrıca Bakınız

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top