Skip to content

[PHP 8.4] Add deprecation warning to mysqli constants #3959

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion reference/mysqli/constants.xml
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@
the copy approach can reduce the overall memory usage
because PHP variables holding results may be released earlier.
Available with <literal>mysqlnd</literal> only.
Deprecated as of PHP 8.4.0.
</simpara>
</listitem>
</varlistentry>
Expand Down Expand Up @@ -993,6 +994,7 @@
<listitem>
<para>
Refreshes the grant tables.
Deprecated as of PHP 8.4.0.
</para>
</listitem>
</varlistentry>
Expand All @@ -1005,6 +1007,7 @@
<para>
Flushes the logs, like executing the
<literal>FLUSH LOGS</literal> <acronym>SQL</acronym> statement.
Deprecated as of PHP 8.4.0.
</para>
</listitem>
</varlistentry>
Expand All @@ -1017,6 +1020,7 @@
<para>
Flushes the table cache, like executing the
<literal>FLUSH TABLES</literal> <acronym>SQL</acronym> statement.
Deprecated as of PHP 8.4.0.
</para>
</listitem>
</varlistentry>
Expand All @@ -1029,6 +1033,7 @@
<para>
Flushes the host cache, like executing the
<literal>FLUSH HOSTS</literal> <acronym>SQL</acronym> statement.
Deprecated as of PHP 8.4.0.
</para>
</listitem>
</varlistentry>
Expand All @@ -1040,7 +1045,7 @@
<listitem>
<para>
Alias of <constant>MYSQLI_REFRESH_SLAVE</constant> constant.
Available as of PHP 8.1.0.
Available as of PHP 8.1.0. Deprecated as of PHP 8.4.0.
</para>
</listitem>
</varlistentry>
Expand All @@ -1053,6 +1058,7 @@
<para>
Reset the status variables, like executing the
<literal>FLUSH STATUS</literal> <acronym>SQL</acronym> statement.
Deprecated as of PHP 8.4.0.
</para>
</listitem>
</varlistentry>
Expand All @@ -1064,6 +1070,7 @@
<listitem>
<para>
Flushes the thread cache.
Deprecated as of PHP 8.4.0.
</para>
</listitem>
</varlistentry>
Expand All @@ -1077,6 +1084,7 @@
On a slave replication server: resets the master server information, and
restarts the slave. Like executing the <literal>RESET SLAVE</literal>
<acronym>SQL</acronym> statement.
Deprecated as of PHP 8.4.0.
</para>
</listitem>
</varlistentry>
Expand All @@ -1090,6 +1098,7 @@
On a master replication server: removes the binary log files listed in the
binary log index, and truncates the index file. Like executing the
<literal>RESET MASTER</literal> <acronym>SQL</acronym> statement.
Deprecated as of PHP 8.4.0.
</para>
</listitem>
</varlistentry>
Expand All @@ -1101,6 +1110,7 @@
<listitem>
<simpara>
Closes and reopens the backup log files.
Deprecated as of PHP 8.4.0.
</simpara>
</listitem>
</varlistentry>
Expand Down