reference/mysqli/mysqli_result/fetch-fields.xml
301d51acc2b8f54edbbd00ce4fdbbe649e4ae192
...
...
@@ -10,12 +10,12 @@
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
12
<para>&style.oop;</para>
13
-
<methodsynopsis role="oop">
13
+
<methodsynopsis role="mysqli_result">
14
14
<modifier>public</modifier> <type>array</type><methodname>mysqli_result::fetch_fields</methodname>
15
15
<void/>
16
16
</methodsynopsis>
17
17
<para>&style.procedural;</para>
18
-
<methodsynopsis role="procedural">
18
+
<methodsynopsis>
19
19
<type>array</type><methodname>mysqli_fetch_fields</methodname>
20
20
<methodparam><type>mysqli_result</type><parameter>result</parameter></methodparam>
21
21
</methodsynopsis>
...
...
@@ -40,8 +40,7 @@
40
40
<refsect1 role="returnvalues">
41
41
&reftitle.returnvalues;
42
42
<para>
43
-
Returns an array of objects which contains field definition information or
44
-
&false; if no field information is available.
43
+
Returns an array of objects containing field definition information.
45
44
</para>
46
45
<para>
47
46
<table xml:id="mysqli-result.fetch-fields.returnvalues">
...
...
@@ -72,7 +71,7 @@
72
71
</row>
73
72
<row>
74
73
<entry>max_length</entry>
75
-
<entry>The maximum width of the field for the result set.</entry>
74
+
<entry>The maximum width of the field for the result set. As of PHP 8.1, this value is always <literal>0</literal>.</entry>
76
75
</row>
77
76
<row>
78
77
<entry>length</entry>
79
78