pass-by-reference was deprecated, so remove it and close bug #28707

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@160871 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Antony Dovgal 2004-06-09 06:22:18 +00:00
parent 20b5aa559a
commit 44e7b5f577
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry id="function.oci-new-cursor">
<refnamediv>
<refname>oci_new_cursor</refname>
@ -27,7 +27,7 @@ $conn = oci_connect("scott", "tiger");
$curs = oci_new_cursor($conn);
$stmt = oci_parse($conn, "begin info.output(:data); end;");
oci_bind_by_name($stmt, "data", &$curs, -1, OCI_B_CURSOR);
oci_bind_by_name($stmt, "data", $curs, -1, OCI_B_CURSOR);
oci_execute($stmt);
oci_execute($curs);

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<!-- $Revision: 1.10 $ -->
<!--
DO NOT TRANSLATE THIS FILE.
@ -37,11 +37,11 @@ $conn = OCILogon("scott", "tiger");
$curs = OCINewCursor($conn);
$stmt = OCIParse($conn, "begin info.output(:data); end;");
ocibindbyname($stmt, "data", &$curs, -1, OCI_B_CURSOR);
ocibindbyname($stmt, "data", $curs, -1, OCI_B_CURSOR);
ociexecute($stmt);
ociexecute($curs);
while (OCIFetchInto($curs, &$data)) {
while (OCIFetchInto($curs, $data)) {
var_dump($data);
}