1 parent f4b2a38 commit 2d0bac5Copy full SHA for 2d0bac5
1 file changed
oci8/oci8.php
@@ -711,6 +711,7 @@ function oci_fetch($statement) {}
711
* identifier created by {@see oci_parse} and executed
712
* by {@see oci_execute}, or a REF
713
* CURSOR statement identifier.</p>
714
+ * @param int $mode
715
* @return object|false <p>An object. Each attribute of the object corresponds to a
716
* column of the row. If there are no more rows in
717
* the <i>statement</i> then <b>FALSE</b> is returned.
@@ -737,7 +738,7 @@ function oci_fetch($statement) {}
737
738
* data fields.
739
* </p>
740
*/
-function oci_fetch_object($statement) {}
741
+function oci_fetch_object($statement, int $mode = OCI_ASSOC|OCI_RETURN_NULLS): object|false {}
742
743
/**
744
* (PHP 5, PECL OCI8 >= 1.1.0)<br/>
0 commit comments