tony2001 Wed Jun 9 02:22:18 2004 EDT
Modified files: /phpdoc/en/reference/oci8/functions oci-new-cursor.xml ocinewcursor.xml Log: pass-by-reference was deprecated, so remove it and close bug #28707 http://cvs.php.net/diff.php/phpdoc/en/reference/oci8/functions/oci-new-cursor.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/oci8/functions/oci-new-cursor.xml diff -u phpdoc/en/reference/oci8/functions/oci-new-cursor.xml:1.3 phpdoc/en/reference/oci8/functions/oci-new-cursor.xml:1.4 --- phpdoc/en/reference/oci8/functions/oci-new-cursor.xml:1.3 Thu Apr 1 03:11:28 2004 +++ phpdoc/en/reference/oci8/functions/oci-new-cursor.xml Wed Jun 9 02:22:18 2004 @@ -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 @@ $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); http://cvs.php.net/diff.php/phpdoc/en/reference/oci8/functions/ocinewcursor.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/oci8/functions/ocinewcursor.xml diff -u phpdoc/en/reference/oci8/functions/ocinewcursor.xml:1.9 phpdoc/en/reference/oci8/functions/ocinewcursor.xml:1.10 --- phpdoc/en/reference/oci8/functions/ocinewcursor.xml:1.9 Thu Apr 15 07:54:42 2004 +++ phpdoc/en/reference/oci8/functions/ocinewcursor.xml Wed Jun 9 02:22:18 2004 @@ -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 @@ $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); }