reference/oci8/functions/oci-new-descriptor.xml
5e41012cfdf8f2eff5fa56de446c7656afac536c
...
...
@@ -9,9 +9,9 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>OCI-Lob</type><methodname>oci_new_descriptor</methodname>
12
+
<type class="union"><type>OCILob</type><type>null</type></type><methodname>oci_new_descriptor</methodname>
13
13
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
14
-
<methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer>OCI_DTYPE_LOB</initializer></methodparam>
14
+
<methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer><constant>OCI_DTYPE_LOB</constant></initializer></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
Allocates resources to hold descriptor or LOB locator.
...
...
@@ -48,7 +48,7 @@
48
48
<refsect1 role="returnvalues">
49
49
&reftitle.returnvalues;
50
50
<para>
51
-
Returns a new LOB or FILE descriptor on success, &false; on error.
51
+
Returns a new LOB or FILE descriptor on success, or &null; on failure.
52
52
</para>
53
53
</refsect1>
54
54

...
...
@@ -165,18 +165,6 @@ oci_free_statement($stmt);
165
165
</para>
166
166
</refsect1>
167
167

168
-
<refsect1 role="notes">
169
-
&reftitle.notes;
170
-
<note>
171
-
<para>
172
-
In PHP versions before 5.0.0 you must use <function>ocinewdescriptor</function> instead.
173
-
This name still can be used, it was left as alias of
174
-
<function>oci_new_descriptor</function> for downwards compatability.
175
-
This, however, is deprecated and not recommended.
176
-
</para>
177
-
</note>
178
-
</refsect1>
179
-

180
168
<refsect1 role="seealso">
181
169
&reftitle.seealso;
182
170
<para>
...
...
@@ -185,10 +173,7 @@ oci_free_statement($stmt);
185
173
</simplelist>
186
174
</para>
187
175
</refsect1>
188
-

189
-

190
176
</refentry>
191
-

192
177
<!-- Keep this comment at the end of the file
193
178
Local variables:
194
179
mode: sgml
195
180