Doc #76495 [NEW]: not all defaults values can be ommited, skip and maxrows on oci_fetch_all
| From: | szamora12 at gmail dot com | Date: | Mon, 18 Jun 2018 20:34:00 +0000 |
| Subject: | Doc #76495 [NEW]: not all defaults values can be ommited, skip and maxrows on oci_fetch_all | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-15791@lists.php.net to get a copy of this message | ||
From: szamora12 at gmail dot com
Operating system: debian linux
PHP version: 7.0.30
Package: OCI8 related
Bug Type: Documentation Problem
Bug description:not all defaults values can be ommited, skip and maxrows on oci_fetch_all
Description:
------------
on PHP 7.0+49
Its a must do including the 'skip' and 'maxrows' parameters, even if
they were the default values. Does not worked for me if them were not
declared on the sentence.
oci_fetch_all($this->qexec, $arrResultados, 0, -1,
OCI_FETCHSTATEMENT_BY_ROW+OCI_ASSOC);
not the same as
php oci_fetch_all($this->qexec, $arrResultados,
OCI_FETCHSTATEMENT_BY_ROW+OCI_ASSOC);
Test script:
---------------
oci_fetch_all($this->qexec, $arrResultados, 0, -1,
OCI_FETCHSTATEMENT_BY_ROW+OCI_ASSOC);
--
Edit bug report at https://bugs.php.net/bug.php?id=76495&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76495&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76495&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76495&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76495&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76495&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76495&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76495&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76495&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76495&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76495&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76495&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76495&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76495&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76495&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76495&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76495&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76495&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76495&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76495&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76495&r=mysqlcfg