Skip to content

Commit 1afd358

Browse files
kamil-tekielacmb69
andauthored
Deprecated mysqli_ping() (#3847)
Co-authored-by: Christoph M. Becker <[email protected]>
1 parent 4d68e15 commit 1afd358

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

reference/mysqli/mysqli/ping.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,31 @@
5858
&mysqli.conditionalexception;
5959
</refsect1>
6060

61+
<refsect1 role="changelog">
62+
&reftitle.changelog;
63+
<informaltable>
64+
<tgroup cols="2">
65+
<thead>
66+
<row>
67+
<entry>&Version;</entry>
68+
<entry>&Description;</entry>
69+
</row>
70+
</thead>
71+
<tbody>
72+
<row>
73+
<entry>8.4.0</entry>
74+
<entry>
75+
Both <methodname>mysqli::ping</methodname> and
76+
<function>mysqli_ping</function> are now deprecated.
77+
The <literal>reconnect</literal> feature has not been available
78+
as of PHP 8.2.0, making this function obsolete.
79+
</entry>
80+
</row>
81+
</tbody>
82+
</tgroup>
83+
</informaltable>
84+
</refsect1>
85+
6186
<refsect1 role="examples">
6287
&reftitle.examples;
6388
<example>

reference/mysqli/mysqli/thread-id.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
ID for the current connection which can then be killed using the
2222
<function>mysqli_kill</function> function. If the connection is lost
2323
and you reconnect with <function>mysqli_ping</function>, the thread ID
24-
will be other. Therefore you should get the thread ID only when you need it.
24+
will be different. Therefore you should get the thread ID only when you need it.
2525
</para>
2626
<note>
2727
<para>

0 commit comments

Comments
 (0)