php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #53636 Wrong return type of PDO::inTransaction
Submitted: 2011-01-01 19:37 UTC Modified: 2011-01-04 14:16 UTC
From: php at csmar51 dot dyndns dot org Assigned: aharvey (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
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: php at csmar51 dot dyndns dot org
New email:
PHP Version: OS:

 

 [2011-01-01 19:37 UTC] php at csmar51 dot dyndns dot org
Description:
------------
---
From manual page: http://www.php.net/pdo.intransaction#Description
---

The documentation wrongly describes PDO::inTransaction as "array PDO::inTransaction ( void )" with return values of TRUE or FALSE.

The return type in the description should be "bool" instead of "array" as stated in the source code "proto bool PDO::inTransaction()".


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-04 14:14 UTC] aharvey@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: aharvey
 [2011-01-04 14:16 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=307079
Log: Fix doc bug #53636 (Wrong return type of PDO::inTransaction).
 [2011-01-04 14:16 UTC] aharvey@php.net
-Status: Assigned +Status: Closed
 [2011-01-04 14:16 UTC] aharvey@php.net
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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 22:00:01 2026 UTC