Doc #51256 [NEW]: oci_fetch_assoc description wrong
| From: | david dot gausmann at measx dot com | Date: | Wed, 10 Mar 2010 07:30:15 +0000 |
| Subject: | Doc #51256 [NEW]: oci_fetch_assoc description wrong | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-4028@lists.php.net to get a copy of this message | ||
From:
Operating system:
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:oci_fetch_assoc description wrong
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 bug report at http://bugs.php.net/bug.php?id=51256&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51256&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51256&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51256&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=51256&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51256&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=51256&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=51256&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=51256&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=51256&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=51256&r=support
Expected behavior: http://bugs.php.net/fix.php?id=51256&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=51256&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=51256&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=51256&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51256&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=51256&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=51256&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=51256&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=51256&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=51256&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=51256&r=mysqlcfg