reference/oci8/functions/oci-fetch-array.xml
ed6de1ae20ce16c0c7be0b3fef282b6065bebfac
...
...
@@ -10,9 +10,9 @@
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
-
<type>array</type><methodname>oci_fetch_array</methodname>
13
+
<type class="union"><type>array</type><type>false</type></type><methodname>oci_fetch_array</methodname>
14
14
<methodparam><type>resource</type><parameter>statement</parameter></methodparam>
15
-
<methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam>
15
+
<methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer>OCI_BOTH | OCI_RETURN_NULLS</initializer></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
18
Returns an array containing the next result-set row of a query.
...
...
@@ -22,7 +22,7 @@
22
22
</para>
23
23
<para>
24
24
If <parameter>statement</parameter> corresponds to a PL/SQL block
25
-
returning Oracle Database 12c Implicit Result Sets, then rows from
25
+
returning Oracle Database Implicit Result Sets, then rows from
26
26
all sets are consecutively fetched. If
27
27
<parameter>statement</parameter> is returned
28
28
by <function>oci_get_implicit_resultset</function>, then only the
...
...
@@ -582,7 +582,7 @@ oci_close($conn);
582
582
</para>
583
583
<para>
584
584
<example>
585
-
<title><function>oci_fetch_array</function> with Oracle Database 12<emphasis>c</emphasis> Implicit Result Sets</title>
585
+
<title><function>oci_fetch_array</function> with Oracle Database Implicit Result Sets</title>
586
586
<programlisting role="php">
587
587
<![CDATA[
588
588
<?php
...
...
@@ -593,7 +593,7 @@ if (!$conn) {
593
593
trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR);
594
594
}
595
595

596
-
// Requires OCI8 2.0 and Oracle Database 12c
596
+
// Requires OCI8 2.0 (or later) and Oracle Database 12c (or later)
597
597
// Also see oci_get_implicit_resultset()
598
598
$sql = 'DECLARE
599
599
c1 SYS_REFCURSOR;
...
...
@@ -672,7 +672,6 @@ oci_close($conn);
672
672
</refsect1>
673
673

674
674
</refentry>
675
-

676
675
<!-- Keep this comment at the end of the file
677
676
Local variables:
678
677
mode: sgml
...
...
@@ -693,4 +692,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
693
692
vim: et tw=78 syn=sgml
694
693
vi: ts=1 sw=1
695
694
-->
696
-

697
695