Doc #53636 [Opn->Asn]: Wrong return type of PDO::inTransaction
| From: | aharvey@php.net | Date: | Tue, 04 Jan 2011 13:14:17 +0000 |
| Subject: | Doc #53636 [Opn->Asn]: Wrong return type of PDO::inTransaction | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5739@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53636&edit=1
ID: 53636
Updated by: aharvey@php.net
Reported by: php at csmar51 dot dyndns dot org
Summary: Wrong return type of PDO::inTransaction
-Status: Open
+Status: Assigned
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: aharvey
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2011-01-01 19:37:12] 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()".
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53636&edit=1