Bug #8549 [NEW]: Documentation is either incorrect or function is misleading
| From: | dranger at export-japan dot com | Date: | Thu, 24 Aug 2006 05:19:59 +0000 |
| Subject: | Bug #8549 [NEW]: Documentation is either incorrect or function is misleading | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-8360@lists.php.net to get a copy of this message | ||
From: dranger at export-japan dot com
Operating system: Irrelevant
Package version:
PHP version: Irrelevant
Package: Documentation
Bug Type: Bug
Bug description: Documentation is either incorrect or function is misleading
Description:
------------
slight glitch
Test script:
---------------
The following code:
if ($mdb2->supports('transactions')) {
exit();
}
should be
if (!$mdb2->supports('transactions')) {
exit();
}
Also $error is a horrible variable name in this case (if true, there is no
error?)
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=8549&edit=1
--