Doc #53269 [Asn->Csd]: Fatal error in Example #6

From: Date: Tue, 09 Nov 2010 03:28:45 +0000
Subject: Doc #53269 [Asn->Csd]: Fatal error in Example #6
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5511@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53269&edit=1 ID: 53269 Updated by: aharvey@php.net Reported by: martyniuk dot vasyl at gmail dot com Summary: Fatal error in Example #6 -Status: Assigned +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: 5.3.3 Assigned To: aharvey Block user comment: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2010-11-09 04:28:37] aharvey@php.net Automatic comment from SVN on behalf of aharvey Revision: http://svn.php.net/viewvc/?view=revision&revision=305216 Log: Updated example per doc bug #53269 (Fatal error in Example #6). ------------------------------------------------------------------------ [2010-11-08 20:45:44] martyniuk dot vasyl at gmail dot com Description: ------------ --- From manual page: http://www.php.net/pdo.transactions --- In Example #6 Executing a batch in a transaction, if connection to db failed, then $dbh variable is not initiated with object PDO, and it causes the fatal error : Fatal error: Call to a member function rollBack() on a non-object in E:\xampp\htdocs\func.php on line 16 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53269&edit=1

« previous php.doc.bugs (#5511) next »