mysqli::refresh

mysqli_refresh

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

mysqli::refresh -- mysqli_refresh — Refreshes

Avviso

Questa funzione è stata DEPRECATA a partire da PHP 8.4.0. Fare affidamento su questa funzione è altamente sconsigliato.

Descrizione

Stile orientato agli oggetti

#[\Deprecated(
    since: '8.4',
    message: 'use FLUSH SQL statement instead',
)]

public function mysqli::refresh(int $flags): bool

Stile procedurale

#[\Deprecated(
    since: '8.4',
    message: 'use FLUSH SQL statement instead',
)]

function mysqli_refresh(mysqli $mysql, int $flags): bool

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

Elenco dei parametri

mysql

Solo nello stile procedurale: un oggetto mysqli restituito da mysqli_connect() o mysqli_init()

flags

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

See also the official » MySQL Refresh documentation.

Valori restituiti

true if the refresh was a success, otherwise false

Log delle modifiche

Versione Descrizione
8.4.0 Both mysqli::refresh() and mysqli_refresh() are now deprecated. Use FLUSH SQL commands instead.

Vedere anche:

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top