php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #17880 OCIExecute result described ambiguously
Submitted: 2002-06-20 12:54 UTC Modified: 2002-11-10 14:42 UTC
From: m dot ford at lmu dot ac dot uk Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.2.1 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: m dot ford at lmu dot ac dot uk
New email:
PHP Version: OS:

 

 [2002-06-20 12:54 UTC] m dot ford at lmu dot ac dot uk
The description of OCIExecute (/manual/en/function.ociexecute.php) has the following proto:

  int OCIExecute ( int statement [, int mode])

but the result is described as:

  Returns TRUE on success, FALSE on failure.

Either the prototype should say bool, or the return values are misdescribed!

(This seems to apply to several OCI* functions -- do you want a separate report for each, or will this do?)

Cheers!

Mike

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-10 14:42 UTC] maxim@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.



This have been just fixed for the overall OCI8 extension

Maxim Maletsky
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 20:01:32 2025 UTC