reference/oci8/functions/oci-field-size.xml
5e41012cfdf8f2eff5fa56de446c7656afac536c
...
...
@@ -9,12 +9,12 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>int</type><methodname>oci_field_size</methodname>
12
+
<type class="union"><type>int</type><type>false</type></type><methodname>oci_field_size</methodname>
13
13
<methodparam><type>resource</type><parameter>statement</parameter></methodparam>
14
-
<methodparam><type>mixed</type><parameter>field</parameter></methodparam>
14
+
<methodparam><type class="union"><type>string</type><type>int</type></type><parameter>column</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
-
Returns the size of a <parameter>field</parameter>.
17
+
Returns the size of a <parameter>column</parameter>.
18
18
</para>
19
19
</refsect1>
20
20

...
...
@@ -31,7 +31,7 @@
31
31
</listitem>
32
32
</varlistentry>
33
33
<varlistentry>
34
-
<term><parameter>field</parameter></term>
34
+
<term><parameter>column</parameter></term>
35
35
<listitem>
36
36
<para>
37
37
Can be the field's index (1-based) or name.
...
...
@@ -45,8 +45,7 @@
45
45
<refsect1 role="returnvalues">
46
46
&reftitle.returnvalues;
47
47
<para>
48
-
Returns the size of a <parameter>field</parameter> in bytes, or &false; on
49
-
errors.
48
+
Returns the size of a <parameter>column</parameter> in bytes,&return.falseforfailure;
50
49
</para>
51
50
</refsect1>
52
51

...
...
@@ -112,18 +111,6 @@ oci_close($conn);
112
111
</para>
113
112
</refsect1>
114
113

115
-
<refsect1 role="notes">
116
-
&reftitle.notes;
117
-
<note>
118
-
<para>
119
-
In PHP versions before 5.0.0 you must use <function>ocicolumnsize</function> instead.
120
-
This name still can be used, it was left as alias of
121
-
<function>oci_field_size</function> for downwards compatability.
122
-
This, however, is deprecated and not recommended.
123
-
</para>
124
-
</note>
125
-
</refsect1>
126
-

127
114
<refsect1 role="seealso">
128
115
&reftitle.seealso;
129
116
<para>
...
...
@@ -135,7 +122,6 @@ oci_close($conn);
135
122
</refsect1>
136
123

137
124
</refentry>
138
-

139
125
<!-- Keep this comment at the end of the file
140
126
Local variables:
141
127
mode: sgml
142
128