Doc #51256 [Csd]: oci_fetch_assoc description wrong

From: Date: Thu, 11 Mar 2010 19:30:50 +0000
Subject: Doc #51256 [Csd]: oci_fetch_assoc description wrong
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4033@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51256&edit=1 ID: 51256 Updated by: joey@php.net Reported by: david dot gausmann at measx dot com Summary: oci_fetch_assoc description wrong Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Assigned To: joey New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2010-03-10 08:30:15] david dot gausmann at measx dot com Description: ------------ On the documentation page for oci_fetch_assoc is written: "Calling oci_fetch_assoc() is identical to calling oci_fetch_array() with OCI_ASSOC." But on the lower of the page is written: "Note: This function sets NULL fields to the PHP NULL value." So if there are NULL fields in your result set then: oci_fetch_array($result, OCI_ASSOC) != oci_fetch_assoc($result) Hence the documentation should be updated to: "Calling oci_fetch_assoc() is identical to calling oci_fetch_array() with (OCI_ASSOC | OCI_RETURN_NULLS)." This bug is not identical to: http://bugs.php.net/bug.php?id=36851 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51256&edit=1

« previous php.doc.bugs (#4033) next »