php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #76495 not all defaults values can be ommited, skip and maxrows on oci_fetch_all
Submitted: 2018-06-18 20:33 UTC Modified: 2018-06-18 21:08 UTC
From: szamora12 at gmail dot com Assigned: cmb (profile)
Status: Not a bug Package: OCI8 related
PHP Version: 7.0.30 OS: debian linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: szamora12 at gmail dot com
New email:
PHP Version: OS:

 

 [2018-06-18 20:33 UTC] szamora12 at gmail dot com
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);


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-06-18 21:08 UTC] cmb@php.net
-Status: Open +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2018-06-18 21:08 UTC] cmb@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC