Skip to content

Commit 432b1af

Browse files
authored
[PHP 8.4] Add deprecation warning to mysqli constants (#3959)
1 parent 730fd5c commit 432b1af

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

reference/mysqli/constants.xml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@
272272
the copy approach can reduce the overall memory usage
273273
because PHP variables holding results may be released earlier.
274274
Available with <literal>mysqlnd</literal> only.
275+
Deprecated as of PHP 8.4.0.
275276
</simpara>
276277
</listitem>
277278
</varlistentry>
@@ -993,6 +994,7 @@
993994
<listitem>
994995
<para>
995996
Refreshes the grant tables.
997+
Deprecated as of PHP 8.4.0.
996998
</para>
997999
</listitem>
9981000
</varlistentry>
@@ -1005,6 +1007,7 @@
10051007
<para>
10061008
Flushes the logs, like executing the
10071009
<literal>FLUSH LOGS</literal> <acronym>SQL</acronym> statement.
1010+
Deprecated as of PHP 8.4.0.
10081011
</para>
10091012
</listitem>
10101013
</varlistentry>
@@ -1017,6 +1020,7 @@
10171020
<para>
10181021
Flushes the table cache, like executing the
10191022
<literal>FLUSH TABLES</literal> <acronym>SQL</acronym> statement.
1023+
Deprecated as of PHP 8.4.0.
10201024
</para>
10211025
</listitem>
10221026
</varlistentry>
@@ -1029,6 +1033,7 @@
10291033
<para>
10301034
Flushes the host cache, like executing the
10311035
<literal>FLUSH HOSTS</literal> <acronym>SQL</acronym> statement.
1036+
Deprecated as of PHP 8.4.0.
10321037
</para>
10331038
</listitem>
10341039
</varlistentry>
@@ -1040,7 +1045,7 @@
10401045
<listitem>
10411046
<para>
10421047
Alias of <constant>MYSQLI_REFRESH_SLAVE</constant> constant.
1043-
Available as of PHP 8.1.0.
1048+
Available as of PHP 8.1.0. Deprecated as of PHP 8.4.0.
10441049
</para>
10451050
</listitem>
10461051
</varlistentry>
@@ -1053,6 +1058,7 @@
10531058
<para>
10541059
Reset the status variables, like executing the
10551060
<literal>FLUSH STATUS</literal> <acronym>SQL</acronym> statement.
1061+
Deprecated as of PHP 8.4.0.
10561062
</para>
10571063
</listitem>
10581064
</varlistentry>
@@ -1064,6 +1070,7 @@
10641070
<listitem>
10651071
<para>
10661072
Flushes the thread cache.
1073+
Deprecated as of PHP 8.4.0.
10671074
</para>
10681075
</listitem>
10691076
</varlistentry>
@@ -1077,6 +1084,7 @@
10771084
On a slave replication server: resets the master server information, and
10781085
restarts the slave. Like executing the <literal>RESET SLAVE</literal>
10791086
<acronym>SQL</acronym> statement.
1087+
Deprecated as of PHP 8.4.0.
10801088
</para>
10811089
</listitem>
10821090
</varlistentry>
@@ -1090,6 +1098,7 @@
10901098
On a master replication server: removes the binary log files listed in the
10911099
binary log index, and truncates the index file. Like executing the
10921100
<literal>RESET MASTER</literal> <acronym>SQL</acronym> statement.
1101+
Deprecated as of PHP 8.4.0.
10931102
</para>
10941103
</listitem>
10951104
</varlistentry>
@@ -1101,6 +1110,7 @@
11011110
<listitem>
11021111
<simpara>
11031112
Closes and reopens the backup log files.
1113+
Deprecated as of PHP 8.4.0.
11041114
</simpara>
11051115
</listitem>
11061116
</varlistentry>

0 commit comments

Comments
 (0)