diff --git a/reference/oci8/functions/ocifetchinto.xml b/reference/oci8/functions/ocifetchinto.xml index 1acf4da4c6..070d1c671a 100644 --- a/reference/oci8/functions/ocifetchinto.xml +++ b/reference/oci8/functions/ocifetchinto.xml @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ intOCIFetchInto intstmt - array &result + array result intmode @@ -22,11 +22,20 @@ result will contain a zero-based array of all columns that are not &null;. - - The mode parameter allows you to change the - default behaviour. You can specify more than one flag by simply - adding them up (eg OCI_ASSOC+OCI_RETURN_NULLS). The known flags - are: + + + Prior to PHP 4.2.0, the result parameter is + passed in by reference at call time. So in these older versions of + PHP you'd use &$row in our example below. See + also + allow_call_time_pass_reference. + + + + The mode parameter allows you to change the + default behaviour. You can specify more than one flag by simply + adding them up (eg OCI_ASSOC+OCI_RETURN_NULLS). The known flags + are: OCI_ASSOC Return an associative array. @@ -43,7 +52,31 @@ instead of the descriptor. - + + + + A simple <function>OCIFetchInto</function> example + + +]]> + + + + + See also OCIExecute. +