reference/mysqli/mysqli_driver.xml
14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.mysqli-driver" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
3
+
<phpdoc:classref xml:id="class.mysqli-driver" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
4
4
<title>The mysqli_driver class</title>
5
5
<titleabbrev>mysqli_driver</titleabbrev>
6
6
...
...
@@ -10,7 +10,9 @@
10
10
<section xml:id="mysqli-driver.intro">
11
11
&reftitle.intro;
12
12
<para>
13
-
MySQLi Driver.
13
+
The <classname>mysqli_driver</classname> class is an instance of the monostate
14
+
pattern, i.e. there is only one driver which can be accessed though an arbitrary
15
+
amount of <classname>mysqli_driver</classname> instances.
14
16
</para>
15
17
</section>
16
18
<!-- }}} -->
...
...
@@ -19,16 +21,11 @@
19
21
&reftitle.classsynopsis;
20
22
21
23
<!-- {{{ Synopsis -->
22
-
<classsynopsis>
23
-
<ooclass><classname>mysqli_driver</classname></ooclass>
24
-
25
-
<!-- {{{ Class synopsis -->
26
-
<classsynopsisinfo>
27
-
<ooclass>
28
-
<classname>mysqli_driver</classname>
29
-
</ooclass>
30
-
</classsynopsisinfo>
31
-
<!-- }}} -->
24
+
<classsynopsis class="class">
25
+
<ooclass>
26
+
<modifier>final</modifier>
27
+
<classname>mysqli_driver</classname>
28
+
</ooclass>
32
29

33
30
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
34
31
<fieldsynopsis>
...
...
@@ -40,34 +37,20 @@
40
37
<fieldsynopsis>
41
38
<modifier>public</modifier>
42
39
<modifier>readonly</modifier>
43
-
<type>string</type>
40
+
<type>int</type>
44
41
<varname linkend="mysqli-driver.props.client-version">client_version</varname>
45
42
</fieldsynopsis>
46
43
<fieldsynopsis>
47
44
<modifier>public</modifier>
48
45
<modifier>readonly</modifier>
49
-
<type>string</type>
46
+
<type>int</type>
50
47
<varname linkend="mysqli-driver.props.driver-version">driver_version</varname>
51
48
</fieldsynopsis>
52
49
<fieldsynopsis>
53
50
<modifier>public</modifier>
54
-
<modifier>readonly</modifier>
55
-
<type>string</type>
56
-
<varname linkend="mysqli-driver.props.embedded">embedded</varname>
57
-
</fieldsynopsis>
58
-
<fieldsynopsis>
59
-
<modifier>public</modifier>
60
-
<type>bool</type>
61
-
<varname linkend="mysqli-driver.props.reconnect">reconnect</varname>
62
-
</fieldsynopsis>
63
-
<fieldsynopsis>
64
-
<modifier>public</modifier>
65
51
<type>int</type>
66
52
<varname linkend="mysqli-driver.props.report-mode">report_mode</varname>
67
53
</fieldsynopsis>
68
-
69
-
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
70
-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mysqli-driver')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='oop'])" />
71
54
</classsynopsis>
72
55
<!-- }}} -->
73
56
...
...
@@ -92,18 +75,28 @@
92
75
<term><varname>driver_version</varname></term>
93
76
<listitem>
94
77
<para>The MySQLi Driver version</para>
78
+
<warning><simpara>This property has
79
+
been <emphasis>deprecated</emphasis> as of PHP 8.1.0. Relying on this
80
+
property is highly discouraged.</simpara></warning>
95
81
</listitem>
96
82
</varlistentry>
97
83
<varlistentry xml:id="mysqli-driver.props.embedded">
98
84
<term><varname>embedded</varname></term>
99
85
<listitem>
100
86
<para>Whether MySQLi Embedded support is enabled</para>
87
+
<warning><simpara>This property has
88
+
been <emphasis>removed</emphasis> as of PHP 8.0.0.</simpara></warning>
101
89
</listitem>
102
90
</varlistentry>
103
91
<varlistentry xml:id="mysqli-driver.props.reconnect">
104
92
<term><varname>reconnect</varname></term>
105
93
<listitem>
106
-
<para>Allow or prevent reconnect (see the mysqli.reconnect INI directive)</para>
94
+
<para>Allow or prevent reconnect (see the <link linkend="ini.mysqli.reconnect">mysqli.reconnect</link> INI directive)</para>
95
+
<warning>
96
+
<simpara>This property has been <emphasis>removed</emphasis>
97
+
along with the <link linkend="ini.mysqli.reconnect">mysqli.reconnect</link> INI directive as of PHP 8.2.0.
98
+
</simpara>
99
+
</warning>
107
100
</listitem>
108
101
</varlistentry>
109
102
<varlistentry xml:id="mysqli-driver.props.report-mode">
...
...
@@ -123,12 +116,52 @@
123
116
</section>
124
117
<!-- }}} -->
125
118

119
+
<section role="changelog">
120
+
&reftitle.changelog;
121
+
<informaltable>
122
+
<tgroup cols="2">
123
+
<thead>
124
+
<row>
125
+
<entry>&Version;</entry>
126
+
<entry>&Description;</entry>
127
+
</row>
128
+
</thead>
129
+
<tbody>
130
+
<row>
131
+
<entry>8.2.0</entry>
132
+
<entry>
133
+
<property>mysqli_driver::$reconnect</property> was removed.
134
+
</entry>
135
+
</row>
136
+
<row>
137
+
<entry>8.1.0</entry>
138
+
<entry>
139
+
<property>mysqli_driver::$driver_version</property> has been deprecated.
140
+
</entry>
141
+
</row>
142
+
<row>
143
+
<entry>8.0.0</entry>
144
+
<entry>
145
+
<property>mysqli_driver::$embedded</property> was removed.
146
+
</entry>
147
+
</row>
148
+
<row>
149
+
<entry>7.4.0</entry>
150
+
<entry>
151
+
<methodname>mysqli_driver::embedded_server_start</methodname> and
152
+
<methodname>mysqli_driver:embedded_server_end</methodname> were removed.
153
+
</entry>
154
+
</row>
155
+
</tbody>
156
+
</tgroup>
157
+
</informaltable>
158
+
</section>
159
+
126
160
</partintro>
127
161
128
162
&reference.mysqli.entities.mysqli-driver;
129
163

130
164
</phpdoc:classref>
131
-
132
165
<!-- Keep this comment at the end of the file
133
166
Local variables:
134
167
mode: sgml
...
...
@@ -149,4 +182,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
149
182
vim: et tw=78 syn=sgml
150
183
vi: ts=1 sw=1
151
184
-->
152
-

153
185