reference/mysqli/mysqli/store-result.xml
90953eddaa06c6c83faf0dea76c241dfafeaa2a1
...
...
@@ -10,19 +10,19 @@
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
12
<para>&style.oop;</para>
13
-
<methodsynopsis role="oop">
14
-
<type>mysqli_result</type><methodname>mysqli::store_result</methodname>
15
-
<methodparam choice="opt"><type>int</type><parameter>option</parameter></methodparam>
13
+
<methodsynopsis role="mysqli">
14
+
<modifier>public</modifier> <type class="union"><type>mysqli_result</type><type>false</type></type><methodname>mysqli::store_result</methodname>
15
+
<methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer>0</initializer></methodparam>
16
16
</methodsynopsis>
17
17
<para>&style.procedural;</para>
18
18
<methodsynopsis>
19
-
<type>mysqli_result</type><methodname>mysqli_store_result</methodname>
20
-
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
21
-
<methodparam choice="opt"><type>int</type><parameter>option</parameter></methodparam>
19
+
<type class="union"><type>mysqli_result</type><type>false</type></type><methodname>mysqli_store_result</methodname>
20
+
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
21
+
<methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer>0</initializer></methodparam>
22
22
</methodsynopsis>
23
23
<para>
24
24
Transfers the result set from the last query on the database connection
25
-
represented by the <parameter>link</parameter> parameter to be used with
25
+
represented by the <parameter>mysql</parameter> parameter to be used with
26
26
the <function>mysqli_data_seek</function> function.
27
27
</para>
28
28
</refsect1>
...
...
@@ -33,11 +33,11 @@
33
33
<variablelist>
34
34
&mysqli.link.description;
35
35
<varlistentry>
36
-
<term><parameter>option</parameter></term>
36
+
<term><parameter>mode</parameter></term>
37
37
<listitem>
38
38
<para>
39
-
The option that you want to set. It can be one of the following values:
40
-
<table>
39
+
The option that you want to set. As of PHP 8.1, this parameter has no effect. It can be one of the following values:
40
+
<table xml:id="mysqli.store-result.parameters">
41
41
<title>Valid options</title>
42
42
<tgroup cols="2">
43
43
<thead>
...
...
@@ -53,7 +53,7 @@
53
53
mysqlnd will use a reference logic to avoid copying and duplicating results held in memory.
54
54
For certain result sets, for example, result sets with many small rows, the copy approach can
55
55
reduce the overall memory usage because PHP variables holding results may be
56
-
released earlier (available with mysqlnd only, since PHP 5.6.0)</entry>
56
+
released earlier (available with mysqlnd only)</entry>
57
57
</row>
58
58
</tbody>
59
59
</tgroup>
...
...
@@ -88,6 +88,18 @@
88
88
</note>
89
89
</refsect1>
90
90

91
+
<refsect1 role="errors">
92
+
&reftitle.errors;
93
+
&mysqli.conditionalexception;
94
+
</refsect1>
95
+

96
+
<refsect1 role="examples">
97
+
&reftitle.examples;
98
+
<para>
99
+
See <function>mysqli_multi_query</function>.
100
+
</para>
101
+
</refsect1>
102
+

91
103
<refsect1 role="notes">
92
104
&reftitle.notes;
93
105
<note>
...
...
@@ -101,13 +113,6 @@
101
113
</note>
102
114
</refsect1>
103
115

104
-
<refsect1 role="examples">
105
-
&reftitle.examples;
106
-
<para>
107
-
See <function>mysqli_multi_query</function>.
108
-
</para>
109
-
</refsect1>
110
-

111
116
<refsect1 role="seealso">
112
117
&reftitle.seealso;
113
118
<para>
...
...
@@ -119,7 +124,6 @@
119
124
</refsect1>
120
125

121
126
</refentry>
122
-

123
127
<!-- Keep this comment at the end of the file
124
128
Local variables:
125
129
mode: sgml
126
130